Django: dictsort not working with integer field
===

I have this field in one of my models

        sort_id = models.IntegerField(_('Sort Order'), default=1000)

In my template, I'm trying to use this field to sort a list

       {% for item in list|dictsort:"sort_id" %}

However, the for loop outputs nothing in that case (but doesn't raise any errors either). If I use another model field as argument for dictsort, the output is not empty and sorted as expected.