The semver Nushell plugin can be used to work with string values as semver type as you can see in a previous post.
You can use the semver sort command to sort string values with ordering rules for semantic versions.
With natural ordering of string values a value of 10.0.1 is placed before 2.1.0, but if you use semver sort the ordering will be correct.
The command will look at all the parts of the semver type.
So a major version of 2 is placed before 10.
If the major version part is the same than the minor part is used for ordering and so on.
To sort in descending order you can use the option --reverse or the short option -r.