segregate (隔離する): The school used to segregate students based on ability. (その学校ではかつて能力に基づいて生徒を隔離していました)

The school used to segregate students based on ability.