Rankings are determined by both the rating and the win percentage. When two players have similar ratings, the player with the higher win percentage is ranked higher on the leaderboard.