Setting up Sort without using the sortBySelector


I have been using the sortBySelector widget for a while to give users the ability to sort using replica indices. Recently our designer requested we replace the dropdown with essentially a set of radio buttons. I imagine this should be fairly easy, but I’m not very familiar with how the selector sort is doing its thing, so I don’t know how to replicate it with radio buttons.

I would like some help on how to build a sort widget from the ground up, to the extent needed to replicate the sortBySelector using radio buttons.


We provide connectors which allow to use the widget logic and to create your own renderer.

The connector that you want to use is connectSortBySelector. You can find an example on the connector’s page.

Thanks. That seems to be just what I need.