Fixed bug in and completed sortAllTimeScores