Added sorting and filtering to the courses page