<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,11 +1,12 @@
 {% extends &quot;lifeflow/lifeflow_base.html&quot; %}
+{% load lifeflow %}
 
 {% block title %} Tag Cloud @ {{ lifeflow_blog_name }}{% endblock %}
 
 {% block body %}
 
 &lt;div class=&quot;tag-cloud&quot;&gt;
-  {% for object in object_list %}
+  {% for object in object_list|human:&quot;title&quot; %}
   &lt;span class=&quot;{{ object.tag_size }}&quot;&gt;&lt;a href=&quot;{{ object.get_absolute_url }}&quot;&gt;{{ object }}&lt;/a&gt;&lt;/span&gt;
   {% endfor %}
 &lt;/div&gt;</diff>
      <filename>templates/lifeflow/tag_list.html</filename>
    </modified>
    <modified>
      <diff>@@ -33,4 +33,12 @@ def nearby(lst, obj, count=5):
     else:
         return lst[pos-dist:pos+dist+1]
 
-register.filter('nearby', nearby)            
+register.filter('nearby', nearby)
+
+def human(lst, field):
+    lst = list(lst)
+    lst.sort(lambda a,b : cmp(getattr(a,field).lower(),
+                              getattr(b,field).lower()))
+    return lst
+
+register.filter('human', human)</diff>
      <filename>templatetags/lifeflow.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>540b683773207e9feef032d84df87779c2ec3959</id>
    </parent>
  </parents>
  <author>
    <name>Will Larson</name>
    <email>lethain@gmail.com</email>
  </author>
  <url>http://github.com/lethain/lifeflow/commit/e1469f14568ef03838b87f33a99a7b097b382664</url>
  <id>e1469f14568ef03838b87f33a99a7b097b382664</id>
  <committed-date>2009-02-19T14:58:00-08:00</committed-date>
  <authored-date>2009-02-19T14:58:00-08:00</authored-date>
  <message>Added 'human' filter which filters a list for human consumption.</message>
  <tree>7d299c112c822072088a301e0601dc4d42d1d504</tree>
  <committer>
    <name>Will Larson</name>
    <email>lethain@gmail.com</email>
  </committer>
</commit>
