function getPlayersScores and order