About this widget
SortBy
displays a list of indices so that users can change the way hits are sorted (using replica indices) or switch between different indices to show different results.
For this to work, you must define all indices you pass to SortBy
as replicas of the main index.
Examples
Dart