Function reverseOrder

Comparator that orders values in reverse order.

This is the opposite of naturalOrder.

  • Parameters

    • a: unknown
    • b: unknown

    Returns number