Options to configure the modifier.

interface SortModifierOptions {
    direction: "desc" | "asc";
    orderByColumn: string;
    orderInColumn?: string;
    type: "Sort";
}

Hierarchy (view full)

Properties

direction: "desc" | "asc"

Direction of sorting.

Default

"desc"
orderByColumn: string

Column with values to order.

Default

"y"
orderInColumn?: string

Column to update with order index instead of change order of rows.

type: "Sort"

Name of the related modifier for these options.