sorting name and course code in dropdown when copy quizzes