# Add policy to indextemplate index templates names are unsorted and not easy to use

**URL:** <https://discuss.elastic.co/t/add-policy-to-indextemplate-index-templates-names-are-unsorted-and-not-easy-to-use/251272>\
**Category:** Elasticsearch\
**Created:** [October 7, 2020, 12:52pm UTC](https://discuss.elastic.co/t/add-policy-to-indextemplate-index-templates-names-are-unsorted-and-not-easy-to-use/251272 "2020-10-07T12:52:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Petr.Simik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/petr.simik/32/38082_2.png) [@Petr.Simik](https://discuss.elastic.co/u/Petr.Simik)\
**Post date:** [October 7, 2020, 12:52pm UTC](https://discuss.elastic.co/t/add-policy-to-indextemplate-index-templates-names-are-unsorted-and-not-easy-to-use/251272/1 "2020-10-07T12:52:55Z")

</div>

I have elastic and kibana v"7.9.2"  
When I want to add ILM to index template by going to ILM-\>action-\>add\_policy\_to\_index button  
I receive the screen - see attached screenshot  
the index templates are in unsorted order and there is no search as u type feature and it is not easy to find correct template.  
Is there a way how I can see the template list in alphabetic sorted order? Or to have type search function?

another problem  
CREATE TEMPLATE vs CREATE LEGACY TEMPLATE  
for create template option I cant see the template from the menu mentioned in attached screen at all.

Thank you

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/f/ff2d8e91db79d02fc4932bfa30298243f538d8d1.png)

---

<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 4, 2020, 12:53pm UTC](https://discuss.elastic.co/t/add-policy-to-indextemplate-index-templates-names-are-unsorted-and-not-easy-to-use/251272/2 "2020-11-04T12:53:05Z")

</div>

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