OptionalcollatorOptionalcustomSort by a custom list.
OptionaldxfUsed with sortOn === cellColor or fontColor
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
Additional options for sorting.