I have this result of a mongodb query.
{
"zen": "blah",
"den": 123,
"ben": "blah",
"cen": false,
"xen": 29
}
How can I get the result lexicographically sorted by keys and not the value of keys?
I want the result like this:
{
"ben": "blah",
"cen": false,
"den": 123,
"xen": 29
"zen": "blah",
}
Is it possible?