JuliaLang/juliaup

Weird sorting of versions in `juliaup list`

Opened this issue · 0 comments

This is approximately how the output of juliaup list looks like:

...
 1.5.0              1.5.0+0.x64.w64.mingw32
 1.5.0-beta1        1.5.0-beta1+0.x64.w64.mingw32
 1.5.0-beta1~x64    1.5.0-beta1+0.x64.w64.mingw32
 1.5.0-rc1          1.5.0-rc1+0.x64.w64.mingw32
 1.5.0-rc1~x64      1.5.0-rc1+0.x64.w64.mingw32
 1.5.0-rc1~x86      1.5.0-rc1+0.x86.w64.mingw32
 1.5.0-rc2          1.5.0-rc2+0.x64.w64.mingw32
 1.5.0-rc2~x86      1.5.0-rc2+0.x86.w64.mingw32
 1.5.0~x64          1.5.0+0.x64.w64.mingw32
 1.5.0~x86          1.5.0+0.x86.w64.mingw32
...
 1.6                1.6.7+0.x64.w64.mingw32
 1.6.0-beta1        1.6.0-beta1+0.x64.w64.mingw32
 1.6.0-beta1~x64    1.6.0-beta1+0.x64.w64.mingw32
 1.6.0-beta1~x86    1.6.0-beta1+0.x86.w64.mingw32
 1.6.0-rc1          1.6.0-rc1+0.x64.w64.mingw32
 1.6.0-rc1~x64      1.6.0-rc1+0.x64.w64.mingw32
 1.6.0-rc1~x86      1.6.0-rc1+0.x86.w64.mingw32
 1.6.0-rc2          1.6.0-rc2+0.x64.w64.mingw32
 1.6.0-rc2~x64      1.6.0-rc2+0.x64.w64.mingw32
...
 1.6.7~x86          1.6.7+0.x86.w64.mingw32
 1.6~x64            1.6.7+0.x64.w64.mingw32
 1.6~x86            1.6.7+0.x86.w64.mingw32
 1.7                1.7.3+0.x64.w64.mingw32
 1.7.0              1.7.0+0.x64.w64.mingw32
 1.7.0-beta1        1.7.0-beta1+0.x64.w64.mingw32
 1.7.0-beta1~x64    1.7.0-beta1+0.x64.w64.mingw32
...
 1.7.3~x86          1.7.3+0.x86.w64.mingw32
 1.7~x64            1.7.3+0.x64.w64.mingw32
 1.7~x86            1.7.3+0.x86.w64.mingw32
 1.8                1.8.5+0.x64.w64.mingw32
 1.8.0              1.8.0+0.x64.w64.mingw32
 1.8.0-beta1        1.8.0-beta1+0.x64.w64.mingw32
 1.8.0-beta1~x64    1.8.0-beta1+0.x64.w64.mingw32
...
 1.8.5~x64          1.8.5+0.x64.w64.mingw32
 1.8.5~x86          1.8.5+0.x86.w64.mingw32
 1.8~x64            1.8.5+0.x64.w64.mingw32
 1.9.0              1.9.0+0.x64.w64.mingw32
 1.9.0-alpha1       1.9.0-alpha1+0.x64.w64.mingw32
 1.9.0-alpha1~x64   1.9.0-alpha1+0.x64.w64.mingw32
 1.9.0-alpha1~x86   1.9.0-alpha1+0.x86.w64.mingw32
...
 1.9.3              1.9.3+0.x64.w64.mingw32
 1.9.3~x64          1.9.3+0.x64.w64.mingw32
 1.9.3~x86          1.9.3+0.x86.w64.mingw32
 1.9.4              1.9.4+0.x64.w64.mingw32
 1.9.4~x64          1.9.4+0.x64.w64.mingw32
 1.9~x64            1.9.4+0.x64.w64.mingw32
 1.9~x86            1.9.4+0.x86.w64.mingw32
 1.10               1.10.5+0.x64.w64.mingw32
 1.10.0             1.10.0+0.x64.w64.mingw32
 1.10.0-alpha1      1.10.0-alpha1+0.x64.w64.mingw32
 1.10.0-alpha1~x64  1.10.0-alpha1+0.x64.w64.mingw32
...
 1.10~x86           1.10.5+0.x86.w64.mingw32
 1.11               1.11.0-rc4+0.x64.w64.mingw32
 1.11.0-alpha1      1.11.0-alpha1+0.x64.w64.mingw32
 1.11.0-alpha1~x64  1.11.0-alpha1+0.x64.w64.mingw32
 1.11.0-alpha1~x86  1.11.0-alpha1+0.x86.w64.mingw32
...
 1.11~x64           1.11.0-rc4+0.x64.w64.mingw32
 1.11~x86           1.11.0-rc4+0.x86.w64.mingw32
 1.1~x64            1.1.1+0.x64.w64.mingw32
 1.1~x86            1.1.1+0.x86.w64.mingw32
 1.5.0-beta1~x86    1.5.0-beta1+0.x86.w64.mingw32
 1.5.0-rc2~x64      1.5.0-rc2+0.x64.w64.mingw32
 1.6.0              1.6.0+0.x64.w64.mingw32
 1.6.0~x86          1.6.0+0.x86.w64.mingw32
 1.6.6~x86          1.6.6+0.x86.w64.mingw32
 1.7.0-rc1          1.7.0-rc1+0.x64.w64.mingw32
 1.8.0-beta3~x86    1.8.0-beta3+0.x86.w64.mingw32
 1.8.0-rc3~x86      1.8.0-rc3+0.x86.w64.mingw32

There are some 1.5, 1.6 etc versions that come in the end instead of being with the rest of their versions.