OptionalcollatorOptionalcustomSort by a custom list.
OptionaliconUsed with sortOn === Icon
OptionaliconUsed with sortOn === Icon
OptionalreverseDetermines whether to reverse the default sort order.
The reverse flag flips the sort order. When set to true, the sort will
be performed in reverse order compared to the default (which is usually ascending).
This flag is data-type agnostic, meaning it will reverse the default order regardless of whether the data is numeric, alphabetic, or complex (e.g., booleans, lists).
Example usage:
const criteria: ISort.Criteria = {
reverse: true, // Sorts in descending order (for numbers/alphabetic)
};
OptionalsortOnly value is currently supported
OptionalstyleThe format whose color sorts first, with sortOn ISort.SortOn.FillColor (its fill)
or ISort.SortOn.FontColor (its font color).
Additional options for sorting.