static LPair pairsSortedByA(Collection> l) { ret sortedByComparator(l, (a, b) -> cmp(a.a, b.a)); }