Sorting Alphanumeric strings

in your example, the order has to be 35abc,ty123,abc23s…because ty123 has 1 in the 3rd position and abc23s has c in the third position. hence, ty123 gets priority