According to the HTML spec tfoot elements
should appear before tbody elements. Sorttable copes with this fine, but the examples show a
tfoot after a tbody. Since everyone uses tfoot in sorttable for totals rows, and putting tfoot
first would mean two passes through your data, I’m inclined to never fix this.