I have table containing
Username | status | joine date
this table is made by for loop fetching from db. Now I want to have the ability to sort by username or join date when I click on the tablde header. each time I click on join date it will be sorted asc and desc alternatively and the same happen when I click on username. Is it possible to do it using ajax or js or so? if yes, I appreciate if someone help me creating this table.
Thanks,