In a file we have the string where each string has a single letter at the beginning and then a number. Sort them based on the number only, disregarding the letter.
A4 B1 A27 A3
B1 A3 A4 A27
A1 A27 C1 B1 B12 A38 B3 A3
Expected output from sample file
A1 C1 B1 B3 A3 B12 A27 A38