MDL-42060 block_course_list: fixed sorting of mycourses