Sort list of supported runtimes

A sorted list is easier to scan if a developer is looking for a specific version.
This commit is contained in:
Steven Nguyen
2023-09-13 11:47:19 -07:00
parent f1b1ed826a
commit 28a0900058
@@ -38,7 +38,7 @@
Supported runtimes:
<br />
<div class="u-inline-flex u-flex-wrap u-margin-block-start-8 u-gap-8">
{#each $template.runtimes as runtime}
{#each $template.runtimes.sort((r1, r2) => r1.name.localeCompare(r2.name)) as runtime}
<Pill>{runtime.name}</Pill>
{/each}
</div>