# Sorting in Discover not working

**URL:** <https://discuss.elastic.co/t/sorting-in-discover-not-working/204626>\
**Category:** Kibana\
**Created:** [October 22, 2019, 10:34am UTC](https://discuss.elastic.co/t/sorting-in-discover-not-working/204626 "2019-10-22T10:34:17Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Ssingh12](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@Ssingh12](https://discuss.elastic.co/u/Ssingh12)\
**Post date:** [October 24, 2019, 6:16am UTC](https://discuss.elastic.co/t/sorting-in-discover-not-working/204626/6 "2019-10-24T06:16:47Z")

</div>

@Bargs, I looked into field formatter. I want to format the field 'names' not 'values', so I think it won't help me.  
I raised another topic for the filtering here - [How to 'filter' in Discover when the field is a scripted field](https://discuss.elastic.co/t/how-to-filter-in-discover-when-the-field-is-a-scripted-field/204890). @Larry_Gregory tells me its a known limitation.  
Now, I am thinking of alternate solutions.  
The only reason I had to use scripted fields was prettier names for the fields. The script only contained reassignment of the same value to another field with a prettier name.  
I would like to try Aliases or ditch the prettier names altogether.

---

_[View the full topic](https://discuss.elastic.co/t/sorting-in-discover-not-working/204626)._
