split search results by course ID