I am a teacher. At our school you may get some kids put into composite classes based on that thinking. There are also many other things such as friendships, splitting or grouping good/bad influences, how many years a student/teacher have already been together and purely just numbers.