I have items that I\'m wanting to sort, my items have computed properties on the model that include winning, bidding, closed, and wa
winning
bidding
closed
wa
I suggest to use a sorting function like this. It sorts by grouping the bid status.
function (a, b) { var status = { winning: 1, bidding: 2, closed: 3, watching: 4 }; return status[a.bidStatus] - status[b.bidStatus]; }