Verified Commit 195bde58 authored by noplanman's avatar noplanman

Natural sorting by binary file name instead of version also makes sure the archive list is pretty.

parent 06ce2f09
......@@ -27,9 +27,7 @@ function get_binary_files()
foreach (get_bintray_files_cache() as $file) {
$files[$file->name] = $file;
uasort($files, static function ($a, $b) {
return version_compare($b->version, $a->version);
krsort($files, SORT_NATURAL);
return $files;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment