Academy pupils ranked in the top 25 in UK schools