code: public static <T> List<T> sortWith(Iterable<T> iterable, Comparator<? super T> comparator) {
  		return ListExtensions.sortInplace(Lists.newArrayList(iterable), comparator);
  	}
docs: Creates a sorted list that contains the items of the given iterable. The resulting list is sorted according to
  the order induced by the specified comparator.
  
  @param iterable
  the items to be sorted. May not be <code>null</code>.
  @param comparator
  the comparator to be used. May be <code>null</code> to indicate that the natural ordering of the
  elements should be used.
  @return a sorted list as a shallow copy of the given iterable.
  @see Collections#sort(List, Comparator)
  @see #sort(Iterable)
  @see #sortBy(Iterable, org.eclipse.xtext.xbase.lib.Functions.Function1)
  @see ListExtensions#sortInplace(List, Comparator)
  @since 2.7