From 981293a55646d36add5d60c73909a980d8ffe01e Mon Sep 17 00:00:00 2001
From: Erik Youngren <artanis.00@gmail.com>
Date: Tue, 2 Jun 2009 22:20:06 -0700
Subject: [PATCH] Key sort page headers. 1000 should not be first.

---
 themes/default/layout.class.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/themes/default/layout.class.php b/themes/default/layout.class.php
index 4a894e40..de7fc538 100644
--- a/themes/default/layout.class.php
+++ b/themes/default/layout.class.php
@@ -14,6 +14,7 @@ class Layout {
 		$contact_link = $config->get_string('contact_link');
 
 		$header_html = "";
+		ksort($page->headers);
 		foreach($page->headers as $line) {
 			$header_html .= "\t\t$line\n";
 		}