The annual rankings evaluated 2,297 universities across 118 countries and territories.