I am trying to sort objects passed to django, and I am passing them in like this:
{% for attendee in attendees|dictsort:"last_name" %}
{{ attendee.first_name }} {{ attendee.last_name }}
dictsort isn't working though, because they are objects and not a dictionary. How do I sort these? The goal is to have an angularjs button that you can click and it will change the sorting parameter like:
dictsort:{[{clickedTab}]}