Custom order for state types

We have more than ten state types, it could be helpful to customise its positions.