I need some help sorting facets alphabetically rather than by count. I am using the reference UI react project but I am struggling to find where I can set the sort option.
I found that you can do it directly in the API but I don't see the option in reference UI project.
{ "query": "", "facets": { "specialty": [ { "type": "value", "name": "specialty", "sort": { "value": "asc" }, "size": 10 } ] } }