{#each list as n, i}
{language.formating[n]}
{ if(i !== 0){ let tempList = list const temp = tempList[i] tempList[i] = tempList[i-1] tempList[i-1] = temp list = tempList } else{ let tempList = list const temp = tempList[i] tempList[i] = tempList[i+1] tempList[i+1] = temp list = tempList } }}>
{ if(i !== (list.length - 1)){ let tempList = list const temp = tempList[i] tempList[i] = tempList[i+1] tempList[i+1] = temp list = tempList } else{ let tempList = list const temp = tempList[i] tempList[i] = tempList[i-1] tempList[i-1] = temp list = tempList } }}>
{#if i !== (list.length - 1)}
{/if} {/each}