static L sortedDesc(Collection c, O comparator) { L l = cloneList(c); sort(l, makeReversedComparator(comparator)); ret l; } static L sortedDesc(Collection c, Comparator comparator) { L l = cloneList(c); sort(l, makeReversedComparator(comparator)); ret l; } // TODO: should use a reverse comparator to keep sort stable static L sortedDesc(Collection c) { L l = cloneList(c); sort(l); Collections.reverse(l); ret l; }