Closed stof closed 9 years ago
I honestly dont know how to sort such versions always correctly. As far as i can see, even packagist simply orders by releasedAt
instead of using versions for such:
My bad is now, that this timestamp releasedAt
is currently not stored in the database.
For such a change a need to update the database entries from packagist. This is what i will try then.
Found another way, simply using PHP's version_compare()
:
http://php.net/manual/en/function.version-compare.php :four_leaf_clover:
Fixed ist, looks far better now: http://hhvm.h4cc.de/package/behat/behat
Thanks! :+1:
The package page is sorting versions in descending order, but pre-release versions are before the corresponding stable release while they should be after (they are lower versions)