fix implicit ordering of courses