Reputation: 11
I have a collection in Meteor that's basically a linked list on the objects' ids. I'd like to sort the objects from head to tail.
According to Meteor's documentation the sort specifiers you can use are just ascending and descending on a key. Is there a way to sort a linked list or make my own custom sort specifier?
Upvotes: 0
Views: 958
Reputation: 2151
It's application level problem. I don't think Meteor or even Mongodb will support this natively soon, and I think you can fetch the Collection, and then do it by yourself (May Underscore.js helps).
Upvotes: 1