I have a set of entries from multiple channels and I want to loop through each section type that is in the set.
Something like
{% set entries = craft.entries.search(query).order('score') %}
{% for entrySection in entries.sections %}
{{ entrySection.name }}
{% endfor %}
So basically if I have 100 results from across 8 sections, is there a way I can list out those 8 sections separately?