Class rank tends to benefit top students at less competitive high schools, to the detriment of students at more competitive high schools.