static void sortByIndex2_desc(LL l, final int index) { sort(l, new Comparator>() { public int compare(L a, L b) { ret cmp(b.get(index), a.get(index)); } }); }