Sorting has been implemented