code: public final List<T> toSortedList(final Class<? extends Comparable<?>> type,
              final boolean lenient, final Object... path) {
          return Ordering.from(new PathComparator(type, lenient, path)).immutableSortedCopy(
                  toCollection(Lists.<T>newArrayListWithCapacity(256)));
      }
docs: Terminal operation returning an immutable List with all the elements of this Stream, sorted
  based on a sort key obtained by applying an optional <i>navigation path</i> and conversion
  to a specified type. The path is a sequence of keys ({@code String}s, {@code URI}s, generic
  objects) that are applied to {@code Record}, {@code BindingSet}, {@code Map} and
  {@code Multimap} elements to extract child elements in a recursive fashion. Starting from
  an element returned by this stream, the result of this navigation process is either null or
  a {@code Comparable} key object that is converted to the requested type (via
  {@link Data#convert(Object, Class)}) and used for comparing the element with other element.
  The {@code lenient} parameters controls whether conversion errors should be ignored or
  result in an exception being thrown.
  
  @param type
  the class of the sort key
  @param lenient
  true if conversion errors should be ignored
  @param path
  a vararg array of zero or more keys that recursively select the sort key
  @return the resulting immutable sorted list