diff --git a/modules/ldapstatus/www/index.php b/modules/ldapstatus/www/index.php
index 61ca15e039a9dc1c5c5249a3c4b613db82485441..d98e1f42d8200e3e0234d82e7ffca53ba673968a 100644
--- a/modules/ldapstatus/www/index.php
+++ b/modules/ldapstatus/www/index.php
@@ -197,7 +197,7 @@ $ressortable = array();
 foreach ($results AS $key => $res) {
 	$ressortable[$key] = resultCode($res[0]);
 }
-asort($ressortable);
+arsort($ressortable);
 #echo '<pre>'; print_r($ressortable); exit;