I have a select menu that is populated with different options on how to sort. It is just the basics like "A to Z", "Z to A", "Date", and "Weight". (Weight is just a number value)
When a user selects one of the values, I want it to sort based on what is selected.
This is what the menu looks like.
I read over the article"Working with the database API". I use a query service to show certain items in the database. How can I make this work?? This is what I got out of the article but I don't see how this could work.