{#each headers as header}
sortColumn(header)}>
{header} {#if sort.column === header}
{/if}
{/each}
{#each sorted as row (row._id)}
{#each headers as header} {#if row[header]}
{row[header]}
{/if} {/each}
{/each}