データテーブル
Table + SortableTh + Pagination。並び順とページは呼び出し元が管理し、Tableはネイティブの<table>を保ちます。
<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} />