Hello!
I created a dictionary using a blog Movista's dictionary of retail execution terms
I would like to order the posts alphabetically instead of publishing date. Is there a way to do that?
Thanks!
Caroline
Hello!
I created a dictionary using a blog Movista's dictionary of retail execution terms
I would like to order the posts alphabetically instead of publishing date. Is there a way to do that?
Thanks!
Caroline
You can use a sort filter on your contents loop
{% for content in contents|sort(False, False, 'name') %}
{% endfor %}
But this will only sort what’s currently on the page, i.e the current loop.