version.lua semver sorting causing out or order versioning for some packages
See my issue I raised thinking this was something related to nixhub. I'm pretty sure this is instead an issue with how version.lua in mise-nix uses semver for sorting package versions. For something like github-copilot-cli that was republished on npm, this causes older versions to be treated as newer than they are.
Maybe there's some way to inherit nixhub's package version ordering directly instead of re-ordering them with mise-nix?
Another case where this happens: https://www.nixhub.io/packages/ty. packages have alpha.# format, and alpha.9 is getting selected as latest even though it's alpha.26 currently.
Look like a bug. Will fix this.