It would be useful to add a user preference for the default _id sort order when you double-click to run find() on a collection.
The current find() order is undefined, which isn't very intuitive in terms of predictable result ordering but matches the behaviour in the mongo shell.
Sort options could include: undefined (default), ascending, descending.
first i tried googling "GitHub Standard Feature Request Etiquette", but really the only universal guideline was to avoid making direct threats.
this would be very useful! due to not being smart enough to do it the right way, i edited ExplorerCollectionTreeItem::ui_viewCollection() to add ".sort({_id: -1})" as i previously had to copy/paste this dozens of times per day.
I, too, add .sort({_id: -1}) to almost every query. It would be really helpful for day-to-day use.
:+1:
:+1:
:+1:
:+1:
:+1:
I was in progress of creating the exact same feature request when I discovered this.
Bump.
👍
👍
👍
👍
👍
seriously. !!
👍
👍
👍
+1
I too would also really appreciate this feature, using .sort({_id: -1}) every query is getting to be a drag.
Most helpful comment
I, too, add
.sort({_id: -1})to almost every query. It would be really helpful for day-to-day use.