Website: master 6408091e

Author Committer Branch Timestamp Parent
dregad dregad master 2021-05-26 08:24 master f94bb110
Changeset

Fix builds sort order

Builds were sorted by branch name ascending, which caused master to
come first, followed by 1.3.x then 2.x.

Sorting by version number descending instead, gives us master first
followed by 2.x and finally 1.3.x as expected (logic assumes that
version number is bumped to '-dev' on master branch).

Also simplify custom sort function to use spaceship operator instead of
if/elseif/else block.

Fixes #28634

mod - builds.php Diff File