It's true the German education system is far from issue-free and I don't mean to put it up on a pedestal. Rather it is simply an example of a system that does separate out high school age students on something other than simply your geographical location.
In Germany people talk about the schooling system mostly in terms of it lowering social mobility and failing to give a good education.