Hi Diana,
You will need to make the changes in gradeslib.php towards the end of grade_get_formatted_grades() there is a large case statement "switch ($sort_by) {" you can change the default setting there.
Based on what you've described I think you will want to change the following line within that case statement.
uasort($grades_by_student, 'grade_sort_by_lastname');
to
uasort($grades_by_student, 'grade_sort_by_points');
Regards,
Jeff
Gradebook
ORDER BY POINTS
This discussion has been locked so you can no longer reply to it.