So, "ABCB" is greater than "ABBBB". This works like this because strings are compared lexicographically. Lexical order (according Wikipedia) is a generalization of the way the alphabetical order of words is based on the alphabetical order of their component letters.

This can be useful when you for example want so sort a list of strings:

Note that this can also be confusing when there are numbers in the text: e.g. "11.5" > "3" will result to false. This is because "1" comes earlier in the alphabet than "3".
If you expect it to work those strings as actual numbers, you need to convert them to numbers first: