Function compareBundlesByVersionDesc

  • Compares two OBLAC Drives bundle filenames by their embedded version strings, sorting them in descending order based on version.

    The version is extracted from the filename suffix matching the pattern _<version>.odbx.

    Returns

    A negative number if b has a newer version than a, positive if a is newer, or 0 if they are equal or the version cannot be determined.

    Parameters

    • a: string

      The first bundle filename to compare.

    • b: string

      The second bundle filename to compare.

    Returns number

Generated using TypeDoc