implemented sorting on player_detail