# How to check what fields are used for index sorting?

**URL:** <https://discuss.elastic.co/t/how-to-check-what-fields-are-used-for-index-sorting/145334>\
**Category:** Elasticsearch\
**Created:** [August 21, 2018, 8:49am UTC](https://discuss.elastic.co/t/how-to-check-what-fields-are-used-for-index-sorting/145334 "2018-08-21T08:49:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![porunov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/porunov/32/32268_2.png) [@porunov](https://discuss.elastic.co/u/porunov)\
**Post date:** [August 21, 2018, 8:49am UTC](https://discuss.elastic.co/t/how-to-check-what-fields-are-used-for-index-sorting/145334/1 "2018-08-21T08:49:48Z")

</div>

Hello,

Since version 6.0 there was added a feature "Index Sorting":  
[https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-index-sorting.html](https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-index-sorting.html)

Is there a possibility to check what fields are used for index sorting?

When I try to check my index:  
curl -X GET "192.168.56.50:9200/myindex" | python -m json.tool

There is no index.sort options available in the output even so the index was created with sorting.

Best regards

---

<div class="post-metadata">

**Author:** ![porunov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/porunov/32/32268_2.png) [@porunov](https://discuss.elastic.co/u/porunov)\
**Post date:** [August 21, 2018, 12:51pm UTC](https://discuss.elastic.co/t/how-to-check-what-fields-are-used-for-index-sorting/145334/2 "2018-08-21T12:51:17Z")

</div>

I don't know why but now I see `sort` options in my `settings`. Possibly I missed something before. This issue isn't reproducible anymore.

---

<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:** [September 18, 2018, 12:51pm UTC](https://discuss.elastic.co/t/how-to-check-what-fields-are-used-for-index-sorting/145334/3 "2018-09-18T12:51:19Z")

</div>

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