I would like to sort a populated Document from the collection i fetch, i get an error requesting it.
Let\'s admit a Document Group (Group) and \'Member\
Group
This code worked for me and may help you out
Group.find({}).populate('Members').sort({ created_at: -1 })