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

    Function sortOrderForMessage

    • A sort order from the register's reply (searchParameters.sortOrder, as in SortIgnored.applied) as an own message quotes it: control characters dropped, as in an error detail (sanitizeServerText), white space folded to one space, and cut at MAX_QUOTED_LENGTH (200, cutForMessage). It is the server's text: a hostile reply held line breaks that forged log records, terminal escapes and 200 000 characters. The envelope and SortIgnored keep the value as the register sent it; the CLI's sort-ignored warning and relevance-paging note quote it through this.

      Parameters

      • order: string

      Returns string