I am not aware of being able to sort the Row State column, however, you can create a new column in the data table, declare it to be of the Modeling Type, Row State, and then use
col << copy from row state
Then you will be able to sort the new column
Jim