code: public static <T> List<T> sortedCollection(Collection<T> coll) {
  	List<T> list = new LinkedList<T>(coll);
  	Collections.sort(list, new UComp<T>());
  	return list;
      }
docs: Returns a list containing all the objects from a collection,
  in increasing lexicographic order of their string
  representations.