I want to sort alphanumeric values like this: 33903A, 33903, 33903C, 33903D.
The values are from an array. I'm using the following:
Code:
sort { $a->[0] cmp $b->[0] }
I'm getting
33903A
33903D
33903D
33903
but I want
33903
33903A
33903D
33903D
Thank you in advance