Computed.sort with custom compare method


#1

From the API docs: http://emberjs.com/api/#method_computed_sort

It looks like Ember.computed.sort can work in one of two ways.

In one, you pass a string path to a list of more paths that get used to sort the list of items by attributes in order. This mode sets up observers for the property changes and is in general very useful.

But if you want to customize that functionality even a little (like say always putting blank items at the end of a sort) then you have to switch to the other method of passing a comparison function, but no information about properties to observe.

Is there anyway to get a hybrid of the two modes? Where I can specify a lightly customized value comparison function, but still take advantage of Ember.computed.sort’s property observation logic?