# Kibana - MultiValue field sort

**URL:** <https://discuss.elastic.co/t/kibana-multivalue-field-sort/47830>\
**Category:** Kibana\
**Created:** [April 19, 2016, 8:23pm UTC](https://discuss.elastic.co/t/kibana-multivalue-field-sort/47830 "2016-04-19T20:23:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Garrett\_Johnson](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@Garrett\_Johnson](https://discuss.elastic.co/u/Garrett_Johnson)\
**Post date:** [April 19, 2016, 8:23pm UTC](https://discuss.elastic.co/t/kibana-multivalue-field-sort/47830/1 "2016-04-19T20:23:49Z")

</div>

I have a multivalue field that looks like so:

{longuglyid34FJF\*PP, John Snow}

It has the ID of the field as the first value and the name value as the second.

Is there a way to sort on the second value in Kibana?

I tried to use mode : max but it won't let me save the object with that in there.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [April 20, 2016, 11:12pm UTC](https://discuss.elastic.co/t/kibana-multivalue-field-sort/47830/2 "2016-04-20T23:12:54Z")

</div>

> [@Garrett\_Johnson](#):
>
> Is there a way to sort on the second value in Kibana?

I don't believe so, I'm pretty sure that Kibana treats all the values it finds as individual values on all the records, so you can match and search by those values, but I can't think of a way to sort by 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:** [July 6, 2017, 1:55pm UTC](https://discuss.elastic.co/t/kibana-multivalue-field-sort/47830/3 "2017-07-06T13:55:32Z")

</div>


