About this question
I find no doc for the sort modifier. The only insight is in the unit tests: spec.lib.query.js#L12
writer.limit(5).sort(['test', 1]).group('name')But it doesn't work for me:
Post.find().sort(['updatedAt', 1]);Dont know mongoose sort?