Added table sort support to compare identical, but differently sorted tables