I have some strings that have a version number at the end of the string. I need to sort them.
i.e.
1
5
6
L1
L2
L123
L300
L500
L123.5
L300.5
If I exclude the .x rows I can get these to sort using LPAD but the version number is stumping me. Looking to get the data to be interpreted as follows so I can sort correctly but I am failing miserably.
0001.00
0005.00
0006.00
00L1.00
00L2.00
L123.00
L300.00
L500.00
L123.50
L300.50
Assuming that the length of version number is the same, the following will give you what you are looking for:
This willl gives you: