[2.2] - Packages (versions) order

### What does it do ?

Consider `-dev` packages lower than `-alpha`

### Why is it needed ?

Having a package tagged `-alpha` (or `-beta`) after `-dev` one (using the same version number) "marks" the package as "upgradable" since "dev" is alphabetically higher than "alpha" or "beta"

### To do before merge

- [ ] Port to MsSQL since i have no idea if it should be different

### Related issue(s)/PR(s)

* #5263