Sorting Alphanumeric strings

Hi,

Why tyui123 is smaller than bhfg12b? I suppose the former is 123 and the latter is 12?

Regards,