// f: A -> Comparable
static L sortByCalculatedFieldDesc(Collection c, fO f) {
ret sortByCalculatedFieldDesc_inPlace(cloneList(c), f);
}
static L sortByCalculatedFieldDesc(O f, Collection c) {
ret sortByCalculatedFieldDesc(c, f);
}
static L sortByCalculatedFieldDesc(Iterable c, IF1 f) {
L l = cloneList(c);
sort(l, new Comparator() {
public int compare(A a, A b) {
ret stdcompare(f.get(b), f.get(a));
}
});
ret l;
}
static L lambdaMapLike sortByCalculatedFieldDesc(IF1 f, Iterable c) {
ret sortByCalculatedFieldDesc(c, f);
}