String(s) comparator.

  • Type Parameters

    • T

    Parameters

    • getter: (input: T) => string | string[]

      Getter of string(s) from input

    Returns (x: T, y: T) => number

    Comparator function