def METHOD_NAME(quiz,scorer,use_relative_scores=False):
    result = {}
    for user_answer in quiz.quiz_answers:
        result[user_answer.user_id] = calculate_quiz_answer_score(user_answer,scorer,use_relative_scores)
    return {k: v for k, v in reversed(sorted(result.items(), key=lambda item: item[1]['score']))}