--- tag_cloud.py.orig   Sun Apr  8 15:40:00 2007
+++ tag_cloud.py        Sun Apr  8 04:01:25 2007
@@ -143,7 +143,9 @@
     tagcloud.append("<div id='tagcloud'>")
     distribution = ( maxcount - mincount ) / 6
 
-    for tag in tagcount.keys():
+    k = tagcount.keys()
+    k.sort()
+    for tag in k:
       size = "mediumTag"
 
       if tag != "untagged":

