fix scoreboard sorting issue