add removeDuplicatesFromSortedList