in reply to sort behavior explanation required
Edit: The first sort is sorted by the ascii value of the first char in the string and if that one is the same it looks at the next one.