The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

Worksheet.Sort Method

Name Description
Sort(Range)

Sorts the specified range by the first column in ascending order.

Sort(Range, Boolean)

Sorts the specified range by the first column.

Sort(Range, IEnumerable<SortField>)

Sorts the specified range by multiple columns.

Sort(Range, Int32)

Sorts the specified range by the specified column in ascending order.

Sort(Range, Int32, Boolean)

Sorts the specified range by the specified column.

Sort(Range, Int32, IComparer<CellValue>)

Sorts the specified range by the specified column using the specified comparer.