duplicates sorted list