How do I perform the comparison between two strings to determine which is alphabetically smaller?
Example, if I have strings 'aberr'
and 'aftward'
how do I determine which is alphabetically smaller? Another example would be 'beast'
and 'best'
.
Do I have to make the strings into it's ascii representation such as:
ascii a + ascii b + ascii e...