SyntaxFix
Write A Post
Hire A Developer
Questions
You can try this:
db.Account.find().sort("UserName") db.Account.find().sort("UserName",pymongo.ASCENDING) db.Account.find().sort("UserName",pymongo.DESCENDING)