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

    Function newestFirst

    • A copy of records, newest first by the instant each entry will print (atomEntryUpdated), ties broken on the id — so "newest first" is true of the feed a reader sees rather than only of the dates. Plain string comparison, not localeCompare: these are ISO instants, and the order of a published feed must not depend on the locale of the machine that built it.

      Parameters

      • records: readonly KaRecord[]
      • fallback: string

      Returns KaRecord[]