Initial support for sortable tables
Finalize sortability and allow specifying the header separately