Interface: SortOptions
Describes the options for sortChar and sortData
Properties
data
• data: Record<string, string | number>[]
The data to be sorted
Defined in
packages/nextjs-kit/src/types.ts:8
direction
• direction: "desc" | "asc" | "ASC" | "DESC"
The direction to sort the data
Defined in
packages/nextjs-kit/src/types.ts:16
key
• key: string
The key on which to sort