sorting table columns on core hours