scriptcs-contrib / svm

scriptcs version manager
Apache License 2.0
43 stars 13 forks source link

Ensure consist sort order for versions #37

Closed paulbouwer closed 9 years ago

paulbouwer commented 9 years ago

The svm install -l command on *nix sorts the versions in a reverse order to on Windows. Going forward all versions will be sorted from newest to oldest. This must be applied to ALL functionality using sorting of versions.

Care must be taken with version numbers since default sorting can lead to incorrect version order.

On Windows, the PublishDate of the version release will be used. On *nix, sort -V -r will be used as this understands version numbers and sorts them correctly.