Sorting seems to be working