Swedish middle class parents do not choose "good schools" because they want a "great education" for their kids as a competitive advantage... in the sense of a well-off American parent want their kids to go to Harvard or MIT or similar.
Swedish middle class parents choose "not-bad schools" (not the same as "good schools") because they want to shelter their kids from trouble and from problems, for example from the social issues from failed integration of immigrants.
So it's more about avoiding trouble and "white flight", than the education itself.
Obviously, this problem is multi-faceted, the best solution is everyone just going to a nice school. But part of the problem in the UK was that comprehensive education is very ideological, and the belief was: comp schools are so bad because all the good students go to grammar schools. This did not turn out to be accurate.
But London (which is currently in the midst of a knife-crime epidemic) was one of the worst places, and got significantly better due to more investment, and more exclusions/discipline. For example, some schools will get teachers to walk at-risk students directly to their homes from schools. And ofc, the exclusions have caused outcry (funnily enough, there is a split on this between unions, who hate it, and teachers, who quite like it). Incidentally, Glasgow also used to have a serious knife crime problem, and they got over this with enhanced stop-and-search...unf, this is politically impossible in London. There are solutions to all these problems though.
I grew up in the UK, and knew lots of smart kids now working deadend jobs who got chewed up and spit out by schools (almost always the issue was bullying, and schools not removing people who were behaving, in a non-school context, criminally). It is a seriously bad situation imo.
Source: My partner is Dutch.
disclaimer: I'm Dutch.
disclaimer: I’m Swedish.
Also, my goodness, blaming the students for systemic issues in society much?
The grading has seen a lot of debate over the last 10 years or so from when it changed (IG/G/VG/MVG --> A-F scale). The way things were graded in the old system had national guidelines, but I think teachers were supposed to take a holistic view on the students performance. Essentially, teachers gave an overall grade. With the new system there were two things that were rather unintuitive. MVG was the highest grade in the previous system, but this does not translate well to an A. Under the previous systems a few programmes required MVG in every subject to compete with other students. So as far as I know the new system required a grade "above" MVG. So that is one thing that makes it different. But also, the new grading system should grade you high if you scored high in ALL criteria for that subject. You were only supposed to be able get one grade higher than your lowest criteria. Of course, a lot of teachers thought "Well IG should translate to F, G should be E-D, MVG should be A. And then I'll just grade like in the previous system.". I think this line of thinking has created a lot of joy grades and unfortunately locked a lot of hard working kids out of their fair spot at uni while letting less hard-working people in.
I know some people who barely got into uni from their grades but turned out to be some of the best performers among their peers because they got fair grades while others got joy grades.
It’s kind of a open secret that if you go to a bad school it will be easier to get a good grade to get into university but harder to pass university.
If you are glass-half-empty person, you can interpret is as a sort of implied "if you pick my school (which means I get money) I will make sure your kid get good grades".
This in my opinion is the main problem. Take this "marketing tool" away from the private schools, and the rest of the problems are fixable (e.g. with diversified pupil compensation). But when you let a private business both grade themselves and sell entry to (free!) university, you will quickly have massive problems...
Up until the 70-ties or so there was a separate government agency responsible for final exams and grades. If we want to keep private schools (and I think we should at least try), then we need to reinstate that separation of education and evaluation, urgently. Problem is we now have a large swath of middle class parents who feel that they've been very smart and ensured a great future for their children by choosing the right school for them (and at least subconsciously they understand that the main reason is the inflated grades). They don't want that privilege taken away. There is no limit to the hypocrisy many people can accept if they feel it benefits their kids.
Source: I'm Swedish, but I don't have kids so not super knowledgeable. Just my impression after following the debate and talking to friends with kids.