# Specify field you want to sort by in asc or desc order

**URL:** https://discuss.elastic.co/t/specify-field-you-want-to-sort-by-in-asc-or-desc-order/27587
**Category:** Kibana
**Created:** [August 18, 2015, 1:09pm UTC](https://discuss.elastic.co/t/specify-field-you-want-to-sort-by-in-asc-or-desc-order/27587 "2015-08-18T13:09:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![DK\_3](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dk_3/32/48003_2.png) [@DK\_3](https://discuss.elastic.co/u/DK_3)
#### Post date: [August 18, 2015, 1:09pm UTC](https://discuss.elastic.co/t/specify-field-you-want-to-sort-by-in-asc-or-desc-order/27587/1 "2015-08-18T13:09:34Z")

</div>

Is it possible to specify the column you wish to sort by in the search field under the Kibana Discover page?

I'd like to specify the column to sort in the query rather than having to click in the column manually.

---

<div class="post-metadata">

### Author: ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)
#### Post date: [August 20, 2015, 4:33am UTC](https://discuss.elastic.co/t/specify-field-you-want-to-sort-by-in-asc-or-desc-order/27587/2 "2015-08-20T04:33:57Z")

</div>

Unfortunately, you can't specify the sort order in the query. All functionality is based on Lucene query language: [https://lucene.apache.org/core/2\_9\_4/queryparsersyntax.html](https://lucene.apache.org/core/2_9_4/queryparsersyntax.html)

---

<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: [July 6, 2017, 2:14pm UTC](https://discuss.elastic.co/t/specify-field-you-want-to-sort-by-in-asc-or-desc-order/27587/3 "2017-07-06T14:14:35Z")

</div>


