# Kibana Discover page sorting when Hide 'Time' column enabled

**URL:** <https://discuss.elastic.co/t/kibana-discover-page-sorting-when-hide-time-column-enabled/251326>\
**Category:** Kibana\
**Created:** [October 7, 2020, 5:36pm UTC](https://discuss.elastic.co/t/kibana-discover-page-sorting-when-hide-time-column-enabled/251326 "2020-10-07T17:36:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![CODE-REaD](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@CODE-REaD](https://discuss.elastic.co/u/CODE-REaD)\
**Post date:** [October 7, 2020, 5:36pm UTC](https://discuss.elastic.co/t/kibana-discover-page-sorting-when-hide-time-column-enabled/251326/1 "2020-10-07T17:36:59Z")

</div>

Background:

- Kibana and Elasticsearch version: 7.9.2, installed with `yum` from repo _elasticsearch-7.x_, running on free license.
- Platform: CentOS 7
- I had enabled Kibana's _Advanced setting_ titled _Hide 'Time' column_ (doc\_table:hideTimeColumn).

Problem:  
Column sorting in my Discover page did not seem to operate properly. If I clicked on the small up/down arrows at the top of a column, the arrow display would update properly but the column displayed a repeating series of that column rather than a simple sort.

Diagnosis:  
It turns out that _ **Kibana sorts on the timestamp column by default, whether or not this column is visible** _.

Workaround:  
Once I made this discovery I was able to resolve this by manually adding the 'timestamp' column to my display. This allowed me to then disable sorting by time, which in turn allowed me to sort my Discover screen by other fields without interaction from the timestamp field.

Possible upgrade:  
Now that I understand what is going on I am less concerned, but think it might be advisable to disable sorting by time when Kibana's Advanced _Hide 'Time' column_ option is enabled.

---

<div class="post-metadata">

**Author:** ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)\
**Post date:** [October 7, 2020, 8:00pm UTC](https://discuss.elastic.co/t/kibana-discover-page-sorting-when-hide-time-column-enabled/251326/2 "2020-10-07T20:00:38Z")

</div>

@CODE-REaD Welcome to the Discuss forum!  
The situation you're describing and the interesting work-around certainly sounds like it's un-intended behavior.  
I'd like to dig into this a bit more and see if I can reproduce it. If so, we can open a feature request (if the behavior is actually intentional) or a bug issue in Github (if it's not intentional behavior).  
What version of the stack are you running?  
How are you running the stack? e.g. from source, with docker etc  
What license are you running on? Some features are only available on higher license tiers.  
An example index with mapping (better yet: some sample data 😉)  
Any logs you might have (server side too if you're running from source). You can get detailed server side logs from Kibana, with the following settings in your `kibana.yml` file:  
`elasticsearch.logQueries: true`  
`logging.verbose: true`

Note that with those settings, Kibana will become very chatty!

---

<div class="post-metadata">

**Author:** ![CODE-REaD](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@CODE-REaD](https://discuss.elastic.co/u/CODE-REaD)\
**Post date:** [October 8, 2020, 2:52pm UTC](https://discuss.elastic.co/t/kibana-discover-page-sorting-when-hide-time-column-enabled/251326/3 "2020-10-08T14:52:32Z")

</div>

@cheiligers, thank you for your interest and your speedy response!

I updated my topic with information on my runtime environment.

I strongly suspect anyone can replicate my findings so have not at this time included sample indexes or log files. If that is not the case, let me know and I will furnish them.

---

<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:** [November 5, 2020, 2:52pm UTC](https://discuss.elastic.co/t/kibana-discover-page-sorting-when-hide-time-column-enabled/251326/4 "2020-11-05T14:52:41Z")

</div>

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