Greetings
I am trying to use the Terms aggregation on a rollup index, and I want the resulting buckets to be sorted, so that I can select the top 5 ones.
Using raw data, everything looks as expected:
However, if I use a rollup index, the buckets are sorted by the key, not by the value:
Is there a way to adjust this behaviour?

