# Is sorting on Text/String field no longer available in 5.x?

**URL:** <https://discuss.elastic.co/t/is-sorting-on-text-string-field-no-longer-available-in-5-x/68586>\
**Category:** Elasticsearch\
**Created:** [December 9, 2016, 4:21pm UTC](https://discuss.elastic.co/t/is-sorting-on-text-string-field-no-longer-available-in-5-x/68586 "2016-12-09T16:21:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dakrone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dakrone/32/23351_2.png) [@dakrone](https://discuss.elastic.co/u/dakrone)\
**Post date:** [December 9, 2016, 5:46pm UTC](https://discuss.elastic.co/t/is-sorting-on-text-string-field-no-longer-available-in-5-x/68586/4 "2016-12-09T17:46:21Z")

</div>

> [@juminoz](#):
>
> Is this field now autogenerated?

If you index a string with no mapping, ES in 5.0+ now automatically creates a `text` version and a `keyword` version (under `.keyword`) of the field.

---

_[View the full topic](https://discuss.elastic.co/t/is-sorting-on-text-string-field-no-longer-available-in-5-x/68586)._
