When adding multiple PivotFields as RowFields, the fields are not in the correct order.
Changing the code in sample12.cs from
pivotTable1.RowFields.Add(pivotTable1.Fields[4]);
to
pivotTable1.RowFields.Add(pivotTable1.Fields[4]);
pivotTable1.RowFields.Add(pivotTable1.Fields[0]);
pivotTable1.RowFields.Add(pivotTable1.Fields[3]);
reproduces this problem as the "PivotSimple" table has the fields "Name -> LastName -> Title" instead of "Name -> Title -> LastName"
Changing the code in sample12.cs from
pivotTable1.RowFields.Add(pivotTable1.Fields[4]);
to
pivotTable1.RowFields.Add(pivotTable1.Fields[4]);
pivotTable1.RowFields.Add(pivotTable1.Fields[0]);
pivotTable1.RowFields.Add(pivotTable1.Fields[3]);
reproduces this problem as the "PivotSimple" table has the fields "Name -> LastName -> Title" instead of "Name -> Title -> LastName"