fixed players_to_json method to order players by score