compareTo

open operator override fun compareTo(other: NotBlankString): Int

Compares this string lexicographically with the other one for order. Returns zero if this string equals the other one, a negative number if it's less than the other one, or a positive number if it's greater than the other one.