Students in public schools are routinely ranked by intelligence. There's the entire concept of "class rank," in which students are in fact put in ranks by their GPA (a proxy for intelligence) and from which a valedictorian is chosen. Then there are standardized tests, which are fairly analogous to IQ tests.
I think it's a rather serious overreach/stretch to link this to the broader workings of democracy.