• sort a Date collection (Descending)

    Returns SortFn<Date | undefined>

  • sort a collection based on a Date (Descending)

    Type Parameters

    • T extends object

    Parameters

    • getDate: ((x: T) => undefined | Date)

      Define the Date mapper

        • (x): undefined | Date
        • Parameters

          Returns undefined | Date

    Returns SortFn<T>