# Order my document in a specific order

**URL:** <https://discuss.elastic.co/t/order-my-document-in-a-specific-order/102283>\
**Category:** Kibana\
**Created:** [September 29, 2017, 4:28pm UTC](https://discuss.elastic.co/t/order-my-document-in-a-specific-order/102283 "2017-09-29T16:28:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidker](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@davidker](https://discuss.elastic.co/u/davidker)\
**Post date:** [September 29, 2017, 4:28pm UTC](https://discuss.elastic.co/t/order-my-document-in-a-specific-order/102283/1 "2017-09-29T16:28:52Z")

</div>

Hello ,  
I was wondering if there was a way to order my documents in a specific order , I don't have many document so if there is a way to it easily on kibana (graphically) I will be interested

Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 1, 2017, 10:06pm UTC](https://discuss.elastic.co/t/order-my-document-in-a-specific-order/102283/2 "2017-10-01T22:06:52Z")

</div>

You mean you want to sort them somehow?

---

<div class="post-metadata">

**Author:** ![davidker](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@davidker](https://discuss.elastic.co/u/davidker)\
**Post date:** [October 2, 2017, 9:55am UTC](https://discuss.elastic.co/t/order-my-document-in-a-specific-order/102283/3 "2017-10-02T09:55:52Z")

</div>

More an order by , for example , I have a field name "country" = ['usa','france' ...] , when I will do a match\_all I want my document with country france first , usa second ...

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 2, 2017, 9:57pm UTC](https://discuss.elastic.co/t/order-my-document-in-a-specific-order/102283/4 "2017-10-02T21:57:29Z")

</div>

Ok, that's not possible unfortunately, because JSON doesn't guarantee order.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 30, 2017, 9:57pm UTC](https://discuss.elastic.co/t/order-my-document-in-a-specific-order/102283/5 "2017-10-30T21:57:32Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
