That makes me think back to my elementary school, where a lot of the kids who got into the "gifted" program just happened to be, surprise surprise, some of the oldest kids in their grade.
At that age the better part of a year in brain development can be exactly the "edge" one needs to excel. And then it can become self-reinforcing when kids gravitate toward the areas in which they dominate their peers.