fixed typo in sorting function
[#25]
persist orderby column to the backend
[#25]
make states sortable
[#25]