Algolia sorting

How to implement different types of sorting (ex. price(asc, desc), popularity etc. ) using javascript api. Please help me.

Hi there,

There’s a guide illustrating how to sort results by using a specific attribute:

Here’s also another guide on how to build a sorting UI widget using Algolia’s InstantSearch library:

Let me know if this helps you out!