code: public static <T> Set<T> toSorted(SortedSet<T> self) {
          return new LinkedHashSet<T>(self);
      }
docs: Avoids doing unnecessary work when sorting an already sorted set
  
  @param self an already sorted set
  @return an ordered copy of the sorted set
  @since 2.4.0