add table sorting for players