Adding table sorting into time report