sort results by course number