diff --git a/register_participants.inc.php b/register_participants.inc.php index dc3f9c9..16e7fdd 100644 --- a/register_participants.inc.php +++ b/register_participants.inc.php @@ -680,7 +680,7 @@ function getMentors($registrations_id){ } $fields = getMentorFields(); - $query = mysql_query("SELECT `" . implode('`,`', $fields) . "` FROM mentors WHERE registrations_id = $registrations_id"); + $query = mysql_query("SELECT `" . implode('`,`', $fields) . "` FROM mentors WHERE registrations_id = $registrations_id ORDER BY id"); if(mysql_error()){ return "register_participants.inc.php::getMentors -> " . mysql_error(); }