static L sortedByFieldIC(Collection c, final S field) { L l = new ArrayList(c); sort(l, new Comparator() { public int compare(A a, A b) { ret compareIC((S) getOpt(a, field), (S) getOpt(b, field)); } }); ret l; } static L mapMethodLike sortedByFieldIC(S field, Collection c) { ret sortedByFieldIC(c, field); }