Home > front end >  How to sort data in MongoDB by id
How to sort data in MongoDB by id

Time:01-15

I have a set of data that I added in my db by order. Later I opened my db and I see that the order has changed. The question is how to sort data by id to make it more readable?

enter image description here

CodePudding user response:

at the end of the input FILTER field shown in your image there is OPTIONS button click on it and it will suggest the sort option, then you just have to chose the field you want to sort with.

  • Related