diff --git a/actions/tag.php b/actions/tag.php index 8a3b8eaeb3..3f379ffdf2 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); }