diff --git a/Repository/CourseSessionUserRepository.php b/Repository/CourseSessionUserRepository.php
index <HASH>..<HASH> 100644
--- a/Repository/CourseSessionUserRepository.php
+++ b/Repository/CourseSessionUserRepository.php
@@ -69,7 +69,7 @@ class CourseSessionUserRepository extends EntityRepository
             JOIN csu.user u
             WHERE csu.session = :session
             AND u.isEnabled = true
-            ORDER BY u.username ASC
+            ORDER BY u.lastName ASC
         ';
         $query = $this->_em->createQuery($dql);
         $query->setParameter('session', $session);
[CursusBundle] order by username to order by lastName