Contract Table Sorting