code: public static SortBuilder from(final Iterable<? extends SortBy> sorts) {
          return (sorts instanceof SortBuilder) ? (SortBuilder)sorts : new SortBuilder(sorts);
      }
docs: Converts an iterable of sort values into a {@code SortBuilder}. This method can be more efficient than using
  the equivalent constructor but the returned object might be backed by the object provided.
  
  @param sorts The print values to convert
  @return An equivalent instance of {@code PrintBuilder}