add sorting to the players page