<p>I think you can try .fixedOrder(), but you might have to query by ID and not slug.</p>

<pre><code>.fixedOrder(true)
</code></pre>

CC BY-SA 3.0
2017-05-05T13:55:55.227Z
Thanks for the quick responce. Didn't seem to work. No errors; just returns an empty array.
Mark Notton
CC BY-SA 3.0
2017-05-05T14:02:08.450Z
Did you try with the id's `craft.entries.id([3, 2, 1]).fixedOrder(true)`
AbbeyDesign
CC BY-SA 3.0
2017-05-05T14:09:31.843Z
Using ID's doesn't do any reordering. Basically does nothing. I thought I'd try another variation of the same thing, but no joy there either: craft.entries({'id':[49, 40, 39, 5, 38]}).fixedOrder(true).find()
Mark Notton
CC BY-SA 3.0
2017-05-05T14:14:27.497Z
IDK, I've used it in the past... maybe remove .find()
AbbeyDesign
CC BY-SA 3.0
2017-05-05T14:20:49.530Z
Dammit... I wasn't seeing anything different because it was being cached! My mistake. You are right though, it works now :) Thank you! Interestingly, removing .find() still works too.
Mark Notton
CC BY-SA 3.0
2017-05-05T13:46:40.170Z
2017-05-05T14:23:45.103Z
2017-05-05T14:23:45.103Z
AbbeyDesign
<p>I'm attempting to output a list of entries using slug names. When I do the following, the entries are automatically reordered in alphabetical (title) order. Same thing happens if I target the ID's instead of the slugs. </p>

<pre><code>{% set menu = craft.entries.slug(['home', 'about', 'services', 'news', 'contact']).order(null).find() %}
{% for entry in menu %}
  {{ entry.title }}
{% endfor %}
</code></pre>

<p>Is there a way to output the list the same way I put it in?</p>

<ordering>
Disable ordering
# Disable ordering

(Asked by: username_0 on 2017-05-05)

I'm attempting to output a list of entries using slug names. When I do the following, the entries are automatically reordered in alphabetical (title) order. Same thing happens if I target the ID's instead of the slugs. 
{% set menu = craft.entries.slug(['home', 'about', 'services', 'news', 'contact']).order(null).find() %}
{% for entry in menu %}
  {{ entry.title }}
{% endfor %}

Is there a way to output the list the same way I put it in?

**Tags:** ordering


---

## 1 answers

### Answer by username_1 on 2017-05-05. Score: 2 | Accepted answer

I think you can try .fixedOrder(), but you might have to query by ID and not slug.
.fixedOrder(true)

> **Comments:**
> **username_0**: Thanks for the quick responce. Didn't seem to work. No errors; just returns an empty array.  
> **username_1**: Did you try with the id's `craft.entries.id([3, 2, 1]).fixedOrder(true)`  
> **username_0**: Using ID's doesn't do any reordering. Basically does nothing. I thought I'd try another variation of the same thing, but no joy there either: craft.entries({'id':[49, 40, 39, 5, 38]}).fixedOrder(true).find()  
> **username_1**: IDK, I've used it in the past... maybe remove .find()  
> **username_0**: Dammit... I wasn't seeing anything different because it was being cached! My mistake. You are right though, it works now :) Thank you! Interestingly, removing .find() still works too.  

---

