platform-bible-utils
    Preparing search index...

    Function compareProjectShortNames

    • Compares two project short names for display order: alphabetical, case- and accent-insensitive.

      The string-level form of compareProjectsByName, for a caller whose list rows are not ProjectNames objects and would otherwise allocate a throwaway one per comparison.

      Parameters

      • a: string

        First short name.

      • b: string

        Second short name.

      Returns number

      Negative, zero or positive, as Array.prototype.sort expects.