Greetings adventurers! If youâve been travelling through MongoDB indexing territory for any amount of time, you may have heard or derived the following maxim:Â If your queries contain a sort/orderby clause, add the sorted field to the end of the index servicing the query. In many cases when querying for documents containing equivalent values, the above mantra is very helpful (by equivalency, I mean
{{#tags}}- {{label}}
{{/tags}}