Stratus3D/asdf-lua

Ensure versions printed by list-all are in the correct order

Stratus3D opened this issue · 0 comments

Something like this should work, if it's not already implemented:

local sort_cmd
if sort --help | grep -q -- '-V'; then
    sort_cmd='sort -r -V'
else
    sort_cmd='sort -r'
fi