@maschinenlesbar.org/bundesrat-cli
    Preparing search index...

    Function topKey

    • Sort key of a TOP title: [number (-1 without one), letter suffix]. The number is the first one after "TOP", the letter one standing right after it ("TOP 2b", "TOP 1 a", "TOP 10a-c"), so an addition after them ("TOP 3 (neu)", "TOP 11 - neu -", "TOP 12/13", "TOP 7 und 8") doesn't move the item; a title without "TOP" is read the same way from its start.

      Parameters

      • title: string | undefined

      Returns [number, string]