Sorted the list