add table sort capability