Yeah, that didn't work, so disregard that. Ordering with Python after getting the query is probably too slow. What you should do is have a field in Submissions which is the reputation of the latest revision (and another one for the score). That field should be updated with signals every time the last_revision score and reputation changes and every there's a new revision.