Open jabrouwer82 opened 9 years ago
That should probably point to http://jinja.pocoo.org/docs/dev/templates/#sort instead.
In theory, if we were to scale this project, it's more efficient to leverage the database's ability to sort the data before we dynamically insert it into the page. However, to be fair, in our case it probably makes more sense to use JavaScript or what you posted to sort the data dynamically.
I just remembered us saying that we would take a better look at the sorting later and then happened across this and wanted to bring it up as a possibility.
This might be useful: http://jinja.pocoo.org/docs/dev/templates/#dictsort