# Sorts not working on my production env

**URL:** <https://discuss.elastic.co/t/sorts-not-working-on-my-production-env/119533>\
**Category:** Elasticsearch\
**Created:** [February 12, 2018, 6:37pm UTC](https://discuss.elastic.co/t/sorts-not-working-on-my-production-env/119533 "2018-02-12T18:37:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miguel\_Michelsongs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/miguel_michelsongs/32/19766_2.png) [@Miguel\_Michelsongs](https://discuss.elastic.co/u/Miguel_Michelsongs)\
**Post date:** [February 12, 2018, 6:37pm UTC](https://discuss.elastic.co/t/sorts-not-working-on-my-production-env/119533/1 "2018-02-12T18:37:22Z")

</div>

Hi Guys, I need some help with this. I've a production app which is not sorting the records, but I've the same configuration on staging server and is working fine, also is working on my development machine. don't know which would be the problem . I assume this could be because the volume of data??. In my production server the machine in which ES is installed and running is consuming about 40% of disc and 26GB of 30GB RAM. I also double checked the mappings on the 3 envs and are the same.

Can anyone give me some enlightenment? 🙏

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [February 16, 2018, 5:26pm UTC](https://discuss.elastic.co/t/sorts-not-working-on-my-production-env/119533/2 "2018-02-16T17:26:36Z")

</div>

We would need more information to help you, such as the mapping, search requests and results that you are getting. We would also need to know what do you exactly mean by "is not sorting the records". When you get records back they should have either `_score` field or `"sort": [...]` array depending on how you are sorting. Do you get the same values for same records in both production and dev environments?

---

<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:** [March 16, 2018, 5:26pm UTC](https://discuss.elastic.co/t/sorts-not-working-on-my-production-env/119533/3 "2018-03-16T17:26:52Z")

</div>

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