By default show highest version, not the latest upload
Description
The version with the latest upload is selected as "default version", not the version with the highest version number.
Steps to reproduce
Of my oelib extension, I did a bug-fix update of several maintenance branches. I first uploaded version 1.1.2 (which is compatible with TYPO3 CMS 6.2.0-7.9.99), then versions 1.0.3 and 0.9.2 (which is compatible with TYPO3 CMS 4.5.0-6.2.99):
https://extensions.typo3.org/extension/oelib/
Expected result
The version with the highest version number (i.e., version 1.1.2) is marked green, and it is also used for calculating the compatibility status. Hence, the extension is not marked as outdated.
Actual result
The version with the latest upload (i.e., version 0.9.2) is marked green, and it is also used for calculating the compatibility status. Hence, the extension is as outdated.
Solution
Use the version with the highest version number, not with the latest upload.