# Custom order of terms/keywords

**URL:** <https://discuss.elastic.co/t/custom-order-of-terms-keywords/69277>\
**Category:** Kibana\
**Created:** [December 16, 2016, 9:52am UTC](https://discuss.elastic.co/t/custom-order-of-terms-keywords/69277 "2016-12-16T09:52:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henrik\_20000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/henrik_20000/32/13940_2.png) [@Henrik\_20000](https://discuss.elastic.co/u/Henrik_20000)\
**Post date:** [December 16, 2016, 9:52am UTC](https://discuss.elastic.co/t/custom-order-of-terms-keywords/69277/1 "2016-12-16T09:52:22Z")

</div>

Hi,

I got a number of keywords: PASS, FAIL, ERROR and so on.

I want to visualize these in a stacked bar graph and I want the "PASS" keyword to be at the bottom in the stacked bar graph. Now I suspect they are ordered by other means such as alphabetically.

How can I custom order these keywords/terms so they end up as I want them to in the bar graph?

/ Henrik

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [December 16, 2016, 7:08pm UTC](https://discuss.elastic.co/t/custom-order-of-terms-keywords/69277/2 "2016-12-16T19:08:48Z")

</div>

By default, they're in ascending order (meaning, the most frequent term is placed at the bottom). The only modification you can currently make to this is switching to descending order (placing the least frequent at bottom and most frequent at top).

Feel free to [file an enhancement request](https://github.com/elastic/kibana/issues/new) for this feature.

---

<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:** [January 13, 2017, 7:08pm UTC](https://discuss.elastic.co/t/custom-order-of-terms-keywords/69277/3 "2017-01-13T19:08:50Z")

</div>

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