added row sorter test file
changed sorting internals