How to sort a model with Ember-table?



For a few days now, I’ve been trying to create a sort functionality with the new addon of Ember Table for Ember-cli but without success. All the examples I’ve seen like this work with predefined values instead of models and in a global structure instead of separated files as Ember-cli works. Due to my lack of experience with Ember, this has become a very tough task for me.

Can you give me some guidance in this matter?