Answers.Body: <p>I don't think it's possible to order by the name or handle of Entry Types. To order by the ID of your Entry Types use <code>'typeId'</code> as the value:</p>
  
  <pre><code>{% set entries = craft.entries.section('more-info').order('typeId') %}
  </code></pre>
  
  <p>Now you only have to create your Entry Types alphabetically ;)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-12-18T14:07:28.813Z
Answers.Text: Create them alphabetically. Jup, that's nice. Until you want to add one later on ;)
Answers.UserDisplayName: Paul
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-12-18T14:06:13.867Z
Answers.LastActivityDate: 2014-12-18T14:06:13.867Z
Answers.UserDisplayName: carlcs
Body: <p>I would like to order my entries by the entry type they have, so for instance:</p>
  
  <pre><code>{% set entries = craft.entries.section('more-info').order('type') %}
  </code></pre>
  
  <p>However, this orders by entry type ID, and not by title, alphabetically. Can this be done? I've tried <code>order('type.title')</code>, but no luck (= DB error) ...</p>
  
Tags: <templating><ordering><order>
Title: Is it possible to order entries by Entry type title/slug
ThreadText: # Is it possible to order entries by Entry type title/slug
  
  (Asked by: username_0 on 2014-12-18)
  
  I would like to order my entries by the entry type they have, so for instance:
  
  ```
  {% set entries = craft.entries.section('more-info').order('type') %}
  
  ```
  
  However, this orders by entry type ID, and not by title, alphabetically. Can this be done? I've tried `order('type.title')`, but no luck (= DB error) ...
  
  **Tags:** templating, ordering, order
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-12-18. Score: 2 | Accepted answer
  
  I don't think it's possible to order by the name or handle of Entry Types. To order by the ID of your Entry Types use `'typeId'` as the value:
  
  ```
  {% set entries = craft.entries.section('more-info').order('typeId') %}
  
  ```
  
  Now you only have to create your Entry Types alphabetically ;)
  
  > **Comments:**
  > **username_0**: Create them alphabetically. Jup, that's nice. Until you want to add one later on ;)  
  
  ---
  
  