--add table sorting to bets and totals tables