I had a little side project that displayed status information in a table,
and I figured,
hey,
let me add sorting.
And it was a lot easier than I thought.
I just put the header row in the THEAD and the table
contents in the TBODY,
then I could use this code to sort the table: Each cell can have an optional sortKey custom attribute
...