sort scoreboard
loose if last line is empty