static <A> L<A> sortByMethod(Collection<A> c, fS method) {
  ret sortByCalculatedField(c, func(A a) -> O { callOpt(a, method) });
}

static <A> L<A> sortByMethod(S method, Collection<A> c) {
  ret sortByMethod(c, method);
}