Data table
Table + SortableTh + Pagination. Pemanggil menyimpan urutan dan halaman; tabel tetap <table> asli.
<Table caption="Invoice terakhir.">
<thead><tr>
<th scope="col">Nomor</th>
<SortableTh label="Total" align="right" dir={arah} onSort={urutkan} />
</tr></thead>
<tbody>{#each halamanIni as r (r.no)}…{/each}</tbody>
</Table>
<Pagination bind:page count={semua.length} perPage={20} />