Course and Category sorting by idnumber descending