Course sorting by courseid descending