Menu
Hello,
I have a table full of data. I want to sort it by ascending AND descending. I wrote a switch/case statement to do this. But I’m having problems with something. For example if I were to go to eBay and click on a title of the table to sort by (for example Price… and I don’t mean the drop down box) it would first sort in an ascending order (and show the down arrow) then, if I clicked on “price” again, it would sort descending. How can I accomplish the multiple options when the link/whatever is clicked?
Just some basic input would be appreciated. ?