changes the code to sort the list