Skip to content

Commit

Permalink
Sort list of supported runtimes
Browse files Browse the repository at this point in the history
A sorted list is easier to scan if a developer is looking for a specific version.
  • Loading branch information
stnguyen90 committed Sep 13, 2023
1 parent f1b1ed8 commit 28a0900
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 28a0900

Please sign in to comment.