Clean up RemoveDuplicatesFromSortedList
Clean up