ksort() the tags list

darcs-hash:20080731041000-84dde-09a4b1d69cc42b7380582d1a2f5d718b6e57dcd2.gz
This commit is contained in:
Evan Prodromou 2008-07-31 00:10:00 -04:00
parent 1dfddc0cd2
commit 4bd68f89c3

View File

@ -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);
}