Kriuchko
4/9/2019 - 1:18 PM

Sort sort by

https://www.siteleaf.com/blog/advanced-liquid-sort/
http://v1.siteleaf.com/help/themes/variables/content/

On search

{% assign search_products = search.results | sort: 'price' %}
or
{% assign search_products = search.results | sort:'title' %}
So, the code looks like:
{% assign search_products = search.results | sort:'title' %}
{% for item in search_products %}
<!-- loop over each result -->
{% endfor %}