So, you learn something new every day. What I learned today is that the `sort` command has a `-V` flag that lets you sort by *version* *order*. So, it correctly sorts v1.8.2 before v1.21.1. It even takes into account prerelease tags like -dev and -rc.1. I was able to use it for sorting our git version tags for CityCatalyst really nicely.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://social.openearth.org/users/evan/statuses/114508447529064910 on your instance and quote it. (Note that quoting is not supported in Mastodon.)