Primary section 

Summary of changes:

(1) Add logic to determine the primary section.  If the sis_section_id matches the course_instance_id, this section name is considered the primary section and will appear at the top of the list

(2) Code cleanup, remove unused code and reduce the length of the lines to under 80
So, do I, but I was following your lead, to keep the lines shorter for readability on a smaller screen.  If we are not thinking about open source, I can put these lines back.