done with filtering and sorting course list