default <U extends Comparable<? super U>> Seq<T> sorted(Function<? super T, ? extends U> function) {
        return sorted(comparing(function));
    }
Sort by the results of function.
jOOL/src/main/java/org/jooq/lambda/Seq.java