Skip to content

Commit

Permalink
alpha sort scenes for user selection
Browse files Browse the repository at this point in the history
  • Loading branch information
a-tal committed Jan 10, 2024
1 parent 6789c43 commit 86d3b5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,4 +489,5 @@ for (const mode in SceneMode) {
scenes.push(new Scene(mode as SceneMode));
}
}
scenes.sort((a, b) => a.name.localeCompare(b.name));
export const Scenes = Object.freeze(scenes);

0 comments on commit 86d3b5c

Please sign in to comment.