.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

PivotField.SortItems Method

Name Parameters Description
SortItems(PivotFieldSortType, Int32, PivotItemReference[]) sortType, dataFieldIndex, itemReferences Sorts items in the current pivot field based on values in the specified data field.
SortItems(PivotFieldSortType, Int32, IEnumerable<PivotItemReference>) sortType, dataFieldIndex, itemReferences Sorts items in the current pivot field based on values in the specified data field.