Fixed sorting in scoreboard