I'm trying to sort a search by a text field. On some documents, all the letters on the field are uppercase, while in others, only the first letter is uppercase.
I'm sorting it by the text_field.keyword field, in ASC order.
The problem is that ES is prioritizing the documents which field contains only uppercase letters.
Is there a specific setting that I need to use to ignore that?