I sort the collection, which is a computed property in my model:
collection: function() { var entries = this.get('entries'); return entries.sortBy('prop1', 'prop2'); }.property('entries.@each.prop1', 'entries.@each.prop2')
But I canβt figure out how to sort it in descending order. It should be easy, right?
Ember 1.13
Eric Wilson
source share