{# Sortable table header cell. Use together with `data-sortable-table=""` on the wrapping . `type` controls the comparator: `string` (case-insensitive locale), `number`, or `date` (ISO-8601). Cells in this column may set `data-sort-value=""` to override the displayed text. #} {% macro th(label, key, type='string', align='left', extra='', th_class='px-4 py-2 font-medium') %} {% endmacro %}