# How sort by date/time on Kibana Discover

**URL:** https://discuss.elastic.co/t/how-sort-by-date-time-on-kibana-discover/126804
**Category:** Kibana
**Created:** [April 4, 2018, 6:36pm UTC](https://discuss.elastic.co/t/how-sort-by-date-time-on-kibana-discover/126804 "2018-04-04T18:36:08Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![Neal\_Walters](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/neal_walters/32/29581_2.png) [@Neal\_Walters](https://discuss.elastic.co/u/Neal_Walters)
#### Post date: [April 4, 2018, 8:33pm UTC](https://discuss.elastic.co/t/how-sort-by-date-time-on-kibana-discover/126804/9 "2018-04-04T20:33:57Z")

</div>

Maybe text fields cannot be sorted??

> [@Is sorting on Text/String field no longer available in 5.x?](https://discuss.elastic.co/t/is-sorting-on-text-string-field-no-longer-available-in-5-x/68586/7):
>
> I thought there is no longer type "string" in 5.x? That's why I changed it to "text". So to make it work, I need to continue using string? That doesn't sound right.

![Kibana_Column_Headings](https://us1.discourse-cdn.com/elastic/original/3X/c/7/c783070240fc9b4cbea972953374ba26c3110f8a.jpg)  
When I mouse over, there is an "X" to remove column and a right arrow that says "move column to the right". There is no up/down arrow for sorting.

Grasping at straws, I also tried this:

 ![Kibana_Sort_Attempt](https://us1.discourse-cdn.com/elastic/original/3X/c/1/c1dc879028470bda29835980216faeee9b4bfb5c.jpg)  
The error is not exactly crystal clear.

Neal

---

_[View the full topic](https://discuss.elastic.co/t/how-sort-by-date-time-on-kibana-discover/126804)._
