{#each $wmState.order as id (id)} {@const win = $wmState.windows[id]} {#if win}
{win.title}
{#key id}
{/key}
{/if} {/each}