Fix sorting classes
@cg505 was this incorrect, or did you want period, then course name sorting?  I wanted course name, then period sorting.  But either way works.  I just think it'll be easier to find the course first, then the period (the brain can more easily see a bunch of similar names grouped together).