results = docDB.posts.find({"active":True }).sort("pop_score", pymongo.DESCENDING)
This is my view right now. But the problem is that some things have the same "rating." In this case, if they contact, I want them to be sorted by "time" within those who tied.
How can I do it? This is possible to do in mysql ...
sorting database mongodb pymongo
TIMEX
source share