sorted major courses, minor courses, and other courses in order