now the ranking is sorted