Want to sort model in Ember.js? You can set the properties you want to sort on in sortProperties.
1 2 3 4 | App.SomethingController = Ember.ArrayController.extend({ sortProperties: ['name'], sortAscending: true }); |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.