I don't know what studies might support this, but I'd bet that if you had 240 students in a grade, then it would be more effective to make 6 classes of 40 grouped by ability, and teach each class to its level, than it would be to have 12 randomly selected classes of 20, and try to cater to different ability levels with in-class differentiation.