It is documented under the Expressions section:
Strings (instances of
str) compare lexicographically using the numerical Unicode code points (the result of the built-in functionord()) of their characters.
It is documented under the Expressions section:
Strings (instances of
str) compare lexicographically using the numerical Unicode code points (the result of the built-in functionord()) of their characters.