extdir scanner does not sort alpha/beta versions correctly
Copied from #59 (closed)
Is there a specific reason we don't do semantic versioning here, or is it just a matter of changing the sort command? In that case, maybe we can adopt this solution...
The fix would indeed require changing the PHP code in extdir, using something equivalent to what you posted (the shell script is just a wrapper to a PHP snippet, which we could re-use).
Code is here:
https://lab.civicrm.org/marketing/civicrm-website/-/blob/d8/modules/custom/extdir/extdir.drush.inc#L285
We can keep this issue open, and fix it next time it happens (the custom module does not have automatic testing, so it's a bit tedious/risky).
cc @BjoernE