Sort 3 or more columns in a HTML file

Hi Friends,

I have a HTMl file with 10 columns.

I found a script online that can sort any single column in a HTML file.

But, I would like to sort on multiple columns at once.

Could you please show some pointers?

Thanks

How about using sort command with -k option.

For further reference check sort manual

Replace the field that is being sorted on (in the script you found) to be the concatenation of the the columns you want to sort on.
Are you trying to do this in javascript in the browser, or on the server end?

I am trying to do it in the browser, not on the server end but at the user end?

Do you have access to the javascript?

Yes, I do.

Are you going to share it with us?

---------- Post updated at 06:09 PM ---------- Previous update was at 05:58 PM ----------

Are you going to share it with us?

Never mind, here is a pretty good primer: sorttable: Make all your tables sortable