{#each COLONNE as c, i (c.chiave)}
0} aria-sort={ordine === c.chiave ? (discendente ? 'descending' : 'ascending') : 'none'} >
ordinaPer(c)} class="hover:bg-superficie-hover w-full px-1 py-2 whitespace-nowrap sm:px-2" class:text-left={i === 0} class:text-right={i > 0} > {c.titolo} {#if ordine === c.chiave}
{discendente ? '▾' : '▴'}
{/if}
{/each}
{#each righe as g, i (g.giocatore + i)}
apri(g)} class="odd:bg-superficie-alt hover:bg-superficie-hover cursor-pointer" >
{g.giocatore}
{g.vittorie}
{numero.format(g.percentuale)}%
{g.partite}
{mostra(g.minimo)}
{mostra(g.media)}
{mostra(g.massimo)}
{/each}