These rankings are meaningless. If you actually studied in the UK, you'd notice a massive change in the last 5 years. Universities do not teach anymore (perhaps with a few exceptions), they are facilitating visas for foreign students without any expectation they'll be learning anything and nobody cares. They pass the exams barely attending any lectures. Everyone is happy, except home students who get massive debt and no actual useful skills.
It's actually more like the past 10 years? (Certainly was when I was in university back 8 years ago) Maybe longer.
But, I like to reference https://marktarver.com/professor.html on the state of education in the UK.