SSP-934 getAllCourses now returns a sorted list