Sorting now works!