@coveo/headless
    Preparing search index...

    Interface SortState

    The state of the Sort sub-controller.

    interface SortState {
        appliedSort: SortCriterion;
        availableSorts: SortCriterion[];
    }
    Index

    Properties

    appliedSort: SortCriterion

    The current sort criterion.

    availableSorts: SortCriterion[]

    The available sort criteria.