jezdez/django-sorter — pull request #2 by anrie (2012-11-15 12:04:04+00:00)
Title: Make sure overridden templates are actually used

Hey Jannis,

i followed the docs (https://django-sorter.readthedocs.org/en/latest/usage.html#further-customization) for specifying a custom template for the sortlink tag but my custom template never got picked up and i always ended up with the default template.

Looking at the code I'd say the problem is that currently the default template is always listed first in the list of templates passed to the template. Changing the order seems to do the trick.