# Kibana 7.6 sorting in discovery

**URL:** https://discuss.elastic.co/t/kibana-7-6-sorting-in-discovery/221194
**Category:** Kibana
**Created:** [February 27, 2020, 9:34am UTC](https://discuss.elastic.co/t/kibana-7-6-sorting-in-discovery/221194 "2020-02-27T09:34:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![gofbor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gofbor/32/46467_2.png) [@gofbor](https://discuss.elastic.co/u/gofbor)
#### Post date: [February 27, 2020, 9:34am UTC](https://discuss.elastic.co/t/kibana-7-6-sorting-in-discovery/221194/1 "2020-02-27T09:34:48Z")

</div>

Hi,

I have a problem with kibana 7.6 discovery sorting. It's not working correctly.  
There was no problem with it in 7.5.1

BR.

---

<div class="post-metadata">

### Author: ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)
#### Post date: [February 27, 2020, 10:00am UTC](https://discuss.elastic.co/t/kibana-7-6-sorting-in-discovery/221194/2 "2020-02-27T10:00:58Z")

</div>

Hi,

Could you please give us some more information on how to reproduce this issue? Eg: are you using an index pattern with timestamp? Do you have an additional search query defined? Additionally, could you do the following:

1. click `Inspect` in the top menu and copy/paste that request here (please feel free to blank out sensitive information, but please make sure to indicate clearly where you modified/blanked out information in the request)

2. check the "Response" tab and check if the items inside `hits.hits` array appear in the correct sorted order or in the same "wrong" order as shown in Discover. No need to paste the full response here, just provide that information.

Thank you!

---

<div class="post-metadata">

### Author: ![gofbor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gofbor/32/46467_2.png) [@gofbor](https://discuss.elastic.co/u/gofbor)
#### Post date: [February 27, 2020, 10:53am UTC](https://discuss.elastic.co/t/kibana-7-6-sorting-in-discovery/221194/3 "2020-02-27T10:53:06Z")

</div>

Hi,

After check the inspect request - I found the problem.  
Main sort was by @timestamp field which is not my main time field and was not displayed on my column list. I've added @timestamp and unchecked sort on it and it's start working.

BTW. When I've added this save search to the dashboard I had to do this process again.

BR.

---

<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 26, 2020, 10:53am UTC](https://discuss.elastic.co/t/kibana-7-6-sorting-in-discovery/221194/4 "2020-03-26T10:53:13Z")

</div>

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