remove state sorting