How do I order by _entry type_ when looping through entries in a template?
You could use Craft's group filter for this, but you'll lose the ability to
use the paginate tag to paginate your entries by doing so.

{% set entries = craft.entries.section('mySection').order('title') %}
{% set entriesByType = entries|group('type') %}

{% for type, entriesInType in entriesByType %}
    &lt;h3&gt;{{ type }}&lt;/h3&gt;

    {% for entry in entriesInType %}
        &lt;p&gt;{{ entry.title }}&lt;/p&gt;
    {% endfor %}
{% endfor %}