{#each items.sort((a, b) => a.name.localeCompare(b.name)) as item (item.id)}
{item.name}
{#if item.instance}
{item.instance}
{/if}
{/each}