Implemented unique() interface in case list is sorted