Subject: | all_versions(): sorting does not work for branches |
In the case of RCS branches (i.e. more than one dot in the version numbers) sorting in all_versions() does not work. Output may be:
"3.2"
"3.1"
"2.5.1.18"
"2.5.1.19"
"2.5.1.11"
"2.5"
"2.5.1.1"
"2.5.1.6"
"2.5.1.16"
"2.5.1.14"
"2.5.1.12"
...
A simple fix here is to use nsort() from Sort::Naturally here.
Regards,
Slaven