static L sortedByMapElementIC(Collection c, final S key) { L l = new ArrayList(c); sort(l, new Comparator() { public int compare(Map a, Map b) { ret cmpIC(getString(a, key), getString(b, key)); } }); ret l; } static L sortedByMapElementIC(S key, Collection c) { ret sortedByMapElementIC(c, key); }