Mongoose gets the current order when querying findOne.

  mongodb, question

After model.findole ({openid: openid}). sort (point:-1), can you get the current doc query order?

Mongo does not have a guaranteed order, you need a specified field for the order.