From 79c07edb4d23e8f7994107f61b25f31a8244e65d Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 24 May 2014 17:55:58 +1200 Subject: [PATCH] reverse sort downloads --- rebuild.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rebuild.php b/rebuild.php index 65b0359..96a59e3 100644 --- a/rebuild.php +++ b/rebuild.php @@ -172,6 +172,9 @@ class CProject { $this->downloads[] = $file; } } + + natcasesort($this->downloads); + $this->downloads = array_reverse($this->downloads); } public function genHomeImage() {