* feat: add remote version sorting and filtering
* use `UserVersion` for filtering
* add additional lts filter
* refactor: use `Vec::retain` instead of filtering and collecting
* fix docstring for sort option
* change docstring for filter argument
* refactor vec filtering
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
* refactor to use `sort_by_key` and `reverse`
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
* add latest flag
* make filter an option as well
* move sort into command as it is presentational
* fix getting latest version
* refactors
* update docs/commands.md
* sort upon installation
* fix clippy
* don't mention rust structs in the cli docs
* sort by default
* remove leftover temp dir from test
---------
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>