sort bug in professor and course search(will be fix after final exam QAQ)