Answers.Body: <p>The <code>fixedOrder</code> parameter makes your entries to be returned in the same order as the IDs you pass to the <code>id</code> parameter. So a simple solution would be to look up the entry IDs of your single section entries and get your entries via their IDs instead of the section handles.</p>
  
  <pre><code>{% set entryIds = [3, 14, 15, 9, 26] %}
  
  {% for entry in craft.entries.id(entryIds).fixedOrder(true) %}
      &lt;li&gt;&lt;a href="{{ entry.url }}"&gt;{{ entry.title }}&lt;/a&gt;&lt;/li&gt;
  {% endfor %}
  </code></pre>
  
  <p>You can eighter look up the IDs in the database, or probably faster: add <code>{{ entry.id }}</code> to your current nav loop!</p>
  
  <p><strong>Update:</strong> If you have a good reason to get them via their handles, use this snippet to get the entry IDs.</p>
  
  <pre><code>{% set sectionHandles = ['arbeiten', 'info', 'kontakt', 'shop'] %}
  
  {% cache globally for 3 years %}
      {% set entryIds = [3] %}
      {% for handle in sectionHandles %}
          {% set entryIds = entryIds|merge([ craft.entries.section(handle).first().id ]) %}
      {% endfor %}
  {% endcache %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-28T16:00:35.970Z
Answers.Text: I used the handles instead of ideas for lazyness reasons. I'll go with id's then. Thank you
Answers.UserDisplayName: KSPR
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-28T12:22:15.040Z
Answers.LastActivityDate: 2015-02-28T12:31:10.630Z
Answers.LastEditDate: 2015-02-28T12:31:10.630Z
Answers.UserDisplayName: carlcs
Body: <p>I have this supersimple navigation:</p>
  
  <pre><code>&lt;ul&gt;
     {% for entry in craft.entries.section('homepage, arbeiten, info, kontakt, shop') %}
         &lt;li&gt;
           &lt;a href="{{ entry.url }}"&gt;{{ entry.title }}&lt;/a&gt;
          &lt;/li&gt;
      {% endfor %}
  &lt;/ul&gt;
  </code></pre>
  
  <p>Is it possible to add an order filter which orders the entry by the order I wrote the entry handles? I tried to apply <code>.fixedOrder</code> but that does nothing.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-28T12:08:47.430Z
Comments.Text: This is all single sections, right?
Comments.UserDisplayName: carlcs
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-28T15:58:44.220Z
Comments.Text: Yes {# More text for stack exchange validator#}
Comments.UserDisplayName: KSPR
Tags: <navigation>
Title: Orderby writing sequence
ThreadText: # Orderby writing sequence
  
  (Asked by: username_0 on 2015-02-28)
  
  I have this supersimple navigation:
  
  ```
  <ul>
     {% for entry in craft.entries.section('homepage, arbeiten, info, kontakt, shop') %}
         <li>
           <a href="{{ entry.url }}">{{ entry.title }}</a>
          </li>
      {% endfor %}
  </ul>
  
  ```
  
  Is it possible to add an order filter which orders the entry by the order I wrote the entry handles? I tried to apply `.fixedOrder` but that does nothing.
  
  **Tags:** navigation
  
  > **Comments:**
  > **username_1**: This is all single sections, right?  
  > **username_0**: Yes {# More text for stack exchange validator#}  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-02-28. Score: 2 | Accepted answer
  
  The `fixedOrder` parameter makes your entries to be returned in the same order as the IDs you pass to the `id` parameter. So a simple solution would be to look up the entry IDs of your single section entries and get your entries via their IDs instead of the section handles.
  
  ```
  {% set entryIds = [3, 14, 15, 9, 26] %}
  
  {% for entry in craft.entries.id(entryIds).fixedOrder(true) %}
      <li><a href="{{ entry.url }}">{{ entry.title }}</a></li>
  {% endfor %}
  
  ```
  
  You can eighter look up the IDs in the database, or probably faster: add `{{ entry.id }}` to your current nav loop!
  
  **Update:** If you have a good reason to get them via their handles, use this snippet to get the entry IDs.
  
  ```
  {% set sectionHandles = ['arbeiten', 'info', 'kontakt', 'shop'] %}
  
  {% cache globally for 3 years %}
      {% set entryIds = [3] %}
      {% for handle in sectionHandles %}
          {% set entryIds = entryIds|merge([ craft.entries.section(handle).first().id ]) %}
      {% endfor %}
  {% endcache %}
  
  ```
  
  > **Comments:**
  > **username_0**: I used the handles instead of ideas for lazyness reasons. I'll go with id's then. Thank you  
  
  ---
  
  