SheetXL - v1.0.2
    Preparing search index...

    Interface PivotSortScopeJSON

    The line of the other axis a sort by value reads: its items, as a line's path names them.

    interface PivotSortScopeJSON {
        items: { field: number; item: number }[];
        subtotal?: true;
    }
    Index
    items: { field: number; item: number }[]

    The line's items, outermost field of the other axis first; each by index into its field's items.

    subtotal?: true

    The line is its innermost item's subtotal (a 2023 Total column) rather than the item's own line.