sorting on text fields now requires enabling fielddata loading
This is not recommended, the recommended approach is a keyword field (using subfield or with an explicit side field with the different mapping).