sbool conceptsSortedByFieldCI_verbose;
static Cl nuLike conceptsSortedByFieldCI(Class c, S field) {
ret conceptsSortedByFieldCI(db_mainConcepts(), c, field);
}
static Cl conceptsSortedByFieldCI(Concepts concepts, Class c, S field) {
// indexed
IFieldIndex index = concepts.getCIFieldIndex(c, field);
if (index cast ConceptFieldIndexCI)
ret (Cl) asList(index.objectIterator());
// sort manually
if (conceptsSortedByFieldCI_verbose)
print("conceptsSortedByFieldCI_verbose: Manual sort of " + c + " for " + field);
ret sortedByFieldIC(field, concepts.list(c));
}