modify course sort rule