Back to Devexpress

Worksheet.Sort Method

officefileapi-devexpress-dot-spreadsheet-dot-worksheet-dot-sort.md

latest3.7 KB
Original Source

Worksheet.Sort Method

NameParametersDescription
Sort(CellRange, Fill, Boolean)range, fill, ascendingSorts the specified range by the specified color in the specified order.
Sort(CellRange, Fill)range, fillSorts the specified range by the specified color in ascending order.
Sort(CellRange, Boolean)range, ascendingSorts the specified range by the first column.
Sort(CellRange, IEnumerable<SortFieldBase>)range, sortFieldsSorts the specified range by multiple columns.
Sort(CellRange, Color, Boolean)range, fontColor, ascendingSorts the specified range by the font color in a specific order.
Sort(CellRange, Color)range, fontColorSorts the specified range by the specified font color in ascending order.
Sort(CellRange, Int32, Fill, Boolean)range, columnOffset, fill, ascendingSorts the specified range by the fill color in a specific order. Allows you to specify column offset.
Sort(CellRange, Int32, Fill)range, columnOffset, fillSorts the specified range by the fill color. Allows you to specify column offset.
Sort(CellRange, Int32, Boolean)range, columnOffset, ascendingSorts the specified range by the specified column.
Sort(CellRange, Int32, IComparer<CellValue>)range, columnOffset, comparerSorts the specified range by the specified column using the specified comparer.
Sort(CellRange, Int32, Color, Boolean)range, columnOffset, fontColor, ascendingSorts the specified range by the font color in a specific order. Allows you to specify column offset.
Sort(CellRange, Int32, Color)range, columnOffset, fontColorSorts the specified range by the background color. Allows you to specify column offset.
Sort(CellRange, Int32)range, columnOffsetSorts the specified range by the specified column in ascending order.
Sort(CellRange)rangeSorts the specified range by the first column in ascending order.