static L> pairsSortedByBDesc(Collection> l) { ret sortedByComparator(l, new Comparator>() { public int compare(Pair a, Pair b) { ret cmp(b.b, a.b); } }); }