in reply to Re^3: sorting an array with decimal points
in thread sorting an array with decimal points
This being said, and as pointed out by AnomalousMonk in Re: sorting an array with decimal points, if the OP's data is really representing version numbers (and I think that's what they are) and not decimals, then your solution would fail on, for example, 5.2, 5.14, 5.16, 5.20, because it would sort 5.2 after 5.14 and 5.16 (which would be wrong for version numbers).
But, of course, my assumptions that they are version numbers may also be wrong. Only levW can tell us what they really are.
|
|---|