Mongoose subdocuments sort

This is actually two questions.

Using MongooseJS

  1. Can you set the default sort order for a Schema?
  2. can you control how subdocuments are sorted?

Looking at the options available for Schema creation it looks like this is not an available option:

autoIndex: bool - defaults to true
bufferCommands: bool - defaults to
true capped: bool - defaults to false
collection: string - no default
id: bool - defaults to true
_id: bool - defaults to true
minimize: bool - controls document#toObject behavior when called manually - defaults to true
read: string
safe: bool - defaults to true.
shardKey: bool - defaults
to null strict: bool - defaults to true toJSON - object - no default
toObject - object - no default
versionKey: bool - defaults to "__v"

You may be able to make a plugin that accomplishes what you're trying to do though.