[2.2] - Packages (versions) order

This should take care of #5263 (at least for MySQL since i have no idea if it should be different on MsSQL).