How can I disable the automatic sorting done by RefinementList? (using with connectors)

I have successfully implemented a Custom Refinement List by the use of connectors for an application I am creating. However, I would like to disable the feature of a Refinement List element going to the top of the list as soon as it is clicked/selected.

I have looked into solutions but it didn’t make sense to me.

Any help would be much appreciated. Thanks!

Not sure if you can do that with a Refinement List, but if you can accept just a single refinement shown at a time then you can use the Menu widget:

https://instantsearchjs.netlify.app/stories/?path=/story/refinements-menu--default