Tabla de datos
Table + SortableTh + Pagination. El llamador gestiona orden y páginas; Table sigue siendo un <table> nativo.
<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} />