reorder movecourses conditional