• Alphabetically sort a string collection (Descending)

    Returns SortFn<number | undefined>

  • Alphabetically sort a collection based on a string (Descending)

    Type Parameters

    • T

    Parameters

    • getString: ((x: T) => undefined | string)

      Define the string mapper

        • (x): undefined | string
        • Parameters

          Returns undefined | string

    Returns SortFn<T>