Alphabetical sort using elasticsearch

Viewed 4629

I wounder if there any way or setting to perform an alphabetical sort in elasticsearch. I've got a field and I want to perform sort in descending order over it. Elastic performs it lexicographically. What I get:

Company name
Customer name
company address

What I want to get:

Company name
company address
Customer name

I found that I can create a custom analyser, but maybe there can be a better option?

1 Answers
Related