this.col = Backbone.Collection.extend({ model: M, comparator: function(item) { return item.get(\"level\"); } });
This above c
Returning an array is not consistent if you need to sort descending and some ascending...
I created a small set of functions which can be used to return the relevant comparison integer back to Backbone Comparator function:
backbone-collection-multisort