Fix sort function: title is a string now

This commit is contained in:
jelhan 2015-07-19 20:12:51 +02:00
parent 6ded3e1f4e
commit a59130633e

View file

@ -53,7 +53,7 @@ export default Ember.Controller.extend({
// days should be sorted to get them in correct order
options.sort(function(a, b){
return a.title - b.title;
return a.title > b.title;
});
}
/*