asdf-community / asdf-chezscheme

Chez Scheme plugin for the asdf version manager
https://github.com/asdf-vm/asdf
Apache License 2.0
7 stars 4 forks source link

Replace custom sort with `sort -V` #16

Open J3RN opened 6 months ago

J3RN commented 6 months ago

The current sorting is sorting the new version (10.0.0) incorrectly:

$ mise ls-remote chezscheme
10.0.0
9.4
9.5
9.5.1
9.5.2
9.5.4
9.5.6
9.5.8
9.5.8a
9.6.0
9.6.2
9.6.4

Sorting can be fixed by replacing the custom sort implementation with the sort command's "version sort" capability: Screenshot from 2024-04-23 00-19-00