sort scoreboard in right order