summaryrefslogtreecommitdiffstats
path: root/lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib.php')
-rw-r--r--lib.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib.php b/lib.php
index 6b87f71..aff9929 100644
--- a/lib.php
+++ b/lib.php
@@ -300,6 +300,7 @@ S;
public static function js_draw_packagers_chart($data, $id)
{
$rows = array();
+ arsort($data);
foreach ($data as $packager => $count) {
$rows[] = sprintf("['%s', %d]", $packager, $count);
}