From 4bd68f89c39f82d2e11f689e57accb1a0673bc55 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 31 Jul 2008 00:10:00 -0400 Subject: ksort() the tags list darcs-hash:20080731041000-84dde-09a4b1d69cc42b7380582d1a2f5d718b6e57dcd2.gz --- actions/tag.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actions/tag.php') diff --git a/actions/tag.php b/actions/tag.php index 8a3b8eaeb..3f379ffdf 100644 --- a/actions/tag.php +++ b/actions/tag.php @@ -110,6 +110,8 @@ class TagAction extends StreamAction { $sum += $tags->weight; } + ksort($tw); + foreach ($tw as $tag => $weight) { $this->show_tag($tag, $weight, $weight/$sum); } -- cgit v1.2.3-54-g00ecf