Thanks for the suggestions, coming from a traditional DB background there is lots to learn when it comes to MongoDB!
I decided to go with duplicate columns, that seems pretty common, and with the Collection2 package it is easy to accomplish:
Animals.attachSchema(new SimpleSchema({
name: {
type: String,
label: "name"
},
name_sort: {
type: String,
optional: true,
autoValue: function() {
var name = this.field("name");
if (name.isSet) {
return name.value.toLowerCase();
} else {
this.unset();
}
}
}
Gotta’ love all the great Meteor packages out there!