static L sortedByMapElementDesc(Collection c, fO key) { L l = new ArrayList(c); sort(l, new Comparator() { public int compare(Map a, Map b) { ret cmp(b.get(key), a.get(key)); } }); ret l; } static L mapMethodLike sortedByMapElementDesc(fO key, Collection c) { ret sortedByMapElementDesc(c, key); }