I am building an app which displays rental properties. I want to allow the user to specify their preferred sort order. For example price and number of bedrooms. When the page loads it is sorted by default using price. I have a drop down where the user can change that to number of bedrooms. How do I make the API get called again so that the list view is updated with the sort order?