In a large set of entries across multiple sections, how can I loop through each section type in the set? 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?
Try using the group filter

{% set entries = craft.entries.search(query).order('score') %}

{% for sectionName, sectionEntries in entries | group('section.name') %}
    &lt;h2&gt;{{ sectionName }}&lt;/h2&gt;

    &lt;ul&gt;
        {% for entry in sectionEntries %}
            &lt;li&gt;{{ entry.title }}&lt;/li&gt;
        {% endfor %}
    &lt;/ul&gt;
{% endfor %}