Sorting by total in Ranking page