I want a component which has search, sorting and infinite scroll.
On startup it has n items, but after search it shows all the items.
How can I keep the sort direction and number of items during search? I want the pageNumber to be number of items that is shown to be equal to initial number times number of times I have scrolled down.
NB: Will edit the sandbox if it's not sufficient.