From 719b037703f070e4f9e3b858c4006641f2385aff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20P=C3=A9rez=20Crespo?= <jaime.perez@uninett.no>
Date: Wed, 7 Aug 2013 13:01:20 +0000
Subject: [PATCH] Patch contributed by Thijs Kinkhorst to sort alphabetically
 the output of modinfo, issue #560.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3258 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/modinfo/templates/modlist.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/modinfo/templates/modlist.php b/modules/modinfo/templates/modlist.php
index 253adc7fe..26c7a3f5a 100644
--- a/modules/modinfo/templates/modlist.php
+++ b/modules/modinfo/templates/modlist.php
@@ -17,6 +17,7 @@ $this->includeAtTemplateBase('includes/header.php');
 <th colspan="2"><?php echo($this->t('{modinfo:modinfo:version}')); ?></th>
 </tr>
 <?php
+ksort($this->data['modules']);
 
 $i = 0;
 foreach($this->data['modules'] as $id => $info) {
-- 
GitLab