fixed states sorting