On Fri, Jan 18, 2013 at 04:36:29PM -0800, Bruno Binet wrote:
> > @@ -416,11 +416,10 @@ def generate_context(self):
> >          # order the categories per name
> >          self.categories = list(self.categories.items())
> >          self.categories.sort(
> > -                key=lambda item: item[0].name,
> 
> I think I would completely remove the sorting here: sorting should
> now occur in the templates, right?

We can sort only in the templates, but if lots of templates want the
same sorting, it might be nice to do the sorting internally…  I could
go either way.  A benefit to sorting here is that we don't break
external templates (yet…).