sort the list