Sort the list