Sorting configuration flags used during collection sorting and export.

The following sorting modes are currently recognized:

- `alpha`Sort entries alphabetically.
- `type`Sort entries by card type.

This interface is intentionally extensible. Additional boolean flags may be introduced in the future to support new sorting strategies without requiring structural changes to the API surface.

Unknown keys are permitted and interpreted as opt-in sorting modes.

interface SortOptions {
    alpha?: boolean;
    type?: boolean;
    [key: string]: boolean;
}

Indexable

  • [key: string]: boolean

    Additional custom sorting flags.

    Keys not explicitly defined above are allowed to support forward-compatible or experimental sorting strategies.

Index

Properties

Properties

alpha?: boolean

Alphabetical sorting.

type?: boolean

Sorted by card type line.