jdx / mise

dev tools, env vars, task runner
https://mise.jdx.dev
MIT License
10.23k stars 295 forks source link

keep tools sorted #3140

Closed jdx closed 3 days ago

jdx commented 3 days ago

if the tools in mise.toml are already sorted, e.g.:

[tools]
a = '1'
c = '3'
d = '4'

then running mise use b@2 should insert it between "a" and "b". In the case where they are not sorted, the current behavior where it gets added to the end should be retained.

Gguyzaza commented 3 days ago

Hello