Added sorting to leaderboard.