Sorting Alphanumeric strings

so, the logic is numerical takes priority. And the place at which numerical is placed takes priority and the lesser numerical value takes priority(ascending)