Issue Summary

I have this in my mongodb query “$sort”:{“name”:“createdAt”,“direction”: -1} but it doesn’t sort at all. Am I missing something?

I added the []
"$sort":[{"name":"createdAt","direction": 1}],
Still doesn’t work.

I think this is covered in the Redash documentation. The key you want is sort not $sort.