Aren't grammar schools set up to solve that problem.
Do you mean our grammar schools, here in the UK? That was originally the plan going back decades. But for various reasons it didn't really work. I think NI has kept more grammar schools than other parts of the UK.

