sorted courses on dept page, so that they will (hopefully) be in the right order on heroku