feliixx / mongoplayground

a simple sandbox to test and share MongoDB queries
https://mongoplayground.net
GNU Affero General Public License v3.0
179 stars 12 forks source link

Enhancement Request: Option to `not` sort output #150

Open rickhg12hs opened 1 year ago

rickhg12hs commented 1 year ago

It would be convenient, and often enhance understanding, if there was an option to not sort the output by field name. This is especially true when viewing explain results that currently "jumbles" the output alphabetically.

Personally, I wouldn't mind if the output was never sorted, but perhaps other users prefer it. Maybe a radio button to select sorted output or not?

feliixx commented 1 year ago

Hi @rickhg12hs, I'm aware of this problem, but sadly there's nothing we can do here because it's the driver that is automatically sorting the fields...

This was already requested here, so I'll try to see if I can find an other way to preserve fields order.