Adds sorting and filtering to HTML tables.