Update RemoveDuplicatesFromSortedList