Sorting refinements
With InstantSearch, you can customize the order of your refinement lists. You can sort them alphabetically or by occurrence (refinement count). For each option, you can choose ascending or descending order.Example
Use the RefinementList widget to specify how itβs sorted with thesortBy property.
For example in the RefinementListβs code sample, sortBy="['isRefined', 'count']" will display the refined facets before the non-refined ones, and will then sort them by decreasing count.