In this sense, "less than" for strings means lexicographic (alphabetical) order.
So cat
is less than dog
because cat
is alphabetically before dog
.
Lexicographic order is, in some sense, an extension of alphabetical order to all ASCII (and UNICODE) characters.