for (String tableName : tableNames)
{
final List<String> columnsForSorting = defineColumnsForSorting(filteredCurrentDataSet, expectedDataSet, tableName);
final ITable expectedTable = sort(new TableWrapper(expectedDataSet.getTable(tableName), filteredCurrentDataSet.getTable(tableName).getTableMetaData()), columnsForSorting);
final ITable currentTable = sort(filteredCurrentDataSet.getTable(tableName), columnsForSorting);
final List<String> columnsToIgnore = extractColumnsToBeIgnored(expectedDataSet.getTable(tableName),
filteredCurrentDataSet.getTable(tableName));