You are viewing a single comment's thread. Return to all comments →
def comparator(a, b): name_score = int(b.name > a.name) return b.score - a.score - name_score
Seems like cookies are disabled on this browser, please enable them to open this website
Sorting: Comparator
You are viewing a single comment's thread. Return to all comments →
def comparator(a, b): name_score = int(b.name > a.name) return b.score - a.score - name_score