{#each $table.getHeaderGroups() as headerGroup}
{#each headerGroup.headers as header}
{#if !header.isPlaceholder}
{#if header.column.getIsSorted() === 'asc'}
{:else if header.column.getIsSorted() === 'desc'}
{/if}
{/if}
{/each}
{/each}
{#each $table.getRowModel().rows as row}
{#each row.getVisibleCells() as cell}
{/each}
{/each}