Included ScheduleSorting.js in index.html, changed passing of non-existant ID property to id property in the courseIsType function in courses.js