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

    Parameters

    • x: string
    • y: string

    Returns boolean

    a boolean telling if x < y

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