The easiest way to instantiate a sortBy widget with an index other than the primary already selected would be using the configure widget as shown in our documentation below.
Here's an example in a codeSandBox
Algolia DevCon - June 28-29, 2023
Discover the future of the AI Stack with Algolia, be the first to see new platform demos and announcements, and get the most out of Algolia through interactive workshops.
The easiest way to instantiate a sortBy widget with an index other than the primary already selected would be using the configure widget as shown in our documentation below.
Here's an example in a codeSandBox