'Returns reviewers ordered by highest total points first.'

@classmethod
def all_users_by_score(cls):

    query = cls._leaderboard_query()
    scores = []
    for row in query:
        (user_id, name, total) = row
        user_level = (len(mkt.REVIEWED_LEVELS) - 1)
        for (i, level) in enumerate(mkt.REVIEWED_LEVELS):
            if (total < level['points']):
                user_level = (i - 1)
                break
        if (user_level < 0):
            level = ''
        else:
            level = mkt.REVIEWED_LEVELS[user_level]['name']
        scores.append({'user_id': user_id, 'name': name, 'total': int(total), 'level': level})
    prev = None
    for score in reversed(scores):
        if (score['level'] == prev):
            score['level'] = ''
        else:
            prev = score['level']
    return scores
