Javascript – Client side sorting with html and Javascript

htmlhtml-tablejavascriptjquerysorting

How can I make a html table which the user can sort using the column headers to sort on the client side? I can load all rows' html data into a Javascript array and use dom to add a table to a content div but is it the right way? If you list major methods, I can find my way from there so, I'm not asking for code.

Best Answer

http://tinysort.sjeiti.com/ should be usefully