displaying a list from db, allowing users to 'sort by':...
I am creating a site and want to display the members list on a separate page. I want the user to be able to re-order this list by alphabet, by join date etc etc but I am not sure how to go about creating it.
I guess I would have to create different functions to deal with the re-ordering? One to re-order to alphabetical, one to re-order to join date?
Can anyone guide me on the best way to achieve this?
I'm really stumped at the moment been trying to think of a way for a good hour now but I find a potential issue with everything I have thought of.
Thanks for any help in advance.