• A comparator on strings, in the lexicographical order, case-independent

    Parameters

    • x: string
    • y: string

    Returns boolean

    a boolean telling if x > y

    gtStr("cd", "abc")  // -> true
    gtStr("acd", "abc") // -> true
    gtStr("abd", "abc") // -> true
    gtStr("aba", "abc") // -> false