sbool conceptsSortedByField_verbose;
static Cl nuLike conceptsSortedByField(Class c, S field) {
ret conceptsSortedByField(db_mainConcepts(), c, field);
}
static Cl conceptsSortedByField(Concepts concepts, Class c, S field) {
// indexed
IFieldIndex index = concepts.getFieldIndex(c, field);
if (index cast ConceptFieldIndexDesc)
ret reverseInPlace(asList(index.objectIterator()));
// sort manually
if (conceptsSortedByField_verbose)
print("conceptsSortedByField_verbose: Manual sort of " + c + " for " + field);
ret sortedByField(field, concepts.list(c));
}