a school system in which children are placed according to both intellectual and emotional maturity to be with their peers would be an extraordinarily complicated one, because even if two pupils are at the same intellectual level, they might differ on the emotional level, and vice versa, so you'd need many classrooms to cater to them all.
Discussion
nostr:npub1cuscsrz6efq99ptktk26x58v4yqy9y46ytp8xw4rjjwq0wlt6znst66789
Sounds like something that home schooling could solve.