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