// f: A -> Comparable
static L sortedByCalculatedFieldDesc(Collection c, fO f) {
ret sortByCalculatedFieldDesc(c, f);
}
static L mapLike sortedByCalculatedFieldDesc(O f, Collection c) {
ret sortByCalculatedFieldDesc(f, c);
}
static L sortedByCalculatedFieldDesc(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;
}