

def _sort_scores(self):
    self.scores.sort(key=(lambda s: (((- self.sort_by) * s.score), s.score_time)))

dataset/ETHPy150Open turbulenz/turbulenz_local/turbulenz_local/models/apiv1/leaderboards.py Leaderboard._sort_scores/original