Added table sorting
Added table sorting