static L keysSortedByValues(final Map map) { L l = new ArrayList(map.keySet()); sort(l, mapComparator(map)); ret l; }