Note the 4th:

Using TH cells outside of the header row is really bad HTML. You should avoid this at all costs. Format your cells to look like a header rather than using TH.

Likewise, you should avoid sortable tables with colspanned TH cells, and with multiple TH rows (which is already bad HTML, as noted above).