generate-json: version sort branches
The branches are currently string sorted. That means 'v3.12' will become 'v3.4', resulting in an unexpected ordering of versions.
Implement a simplified custom version sort that will sort 'v3.4' before 'v3.12'.
The branches are currently string sorted. That means 'v3.12' will become 'v3.4', resulting in an unexpected ordering of versions.
Implement a simplified custom version sort that will sort 'v3.4' before 'v3.12'.