Format changes in table sort helper