bithazard

Results 2 comments of bithazard

I thought into this direction as well. Sorting by `id` would probably come as close as possible to a "`$natural` sorting". But that could lead to some unwanted side effects...

I've added a suggestion to the "MongoDB Feedback Engine" that you can find under https://feedback.mongodb.com/forums/924280-database/suggestions/48473684-aggregations-should-allow-an-empty-sort-stage-inst. Feel free to give it a vote. If this gets implemented, the way that you...