From 3a311b25a371b96db479aa04cd2bef740050d182 Mon Sep 17 00:00:00 2001 From: oxygen-dioxide <54425948+oxygen-dioxide@users.noreply.github.com> Date: Fri, 15 Sep 2023 12:47:23 +0800 Subject: [PATCH] sort language groups of phonemizers --- OpenUtau/ViewModels/TrackHeaderViewModel.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenUtau/ViewModels/TrackHeaderViewModel.cs b/OpenUtau/ViewModels/TrackHeaderViewModel.cs index 219f5be41..b84cc47ee 100644 --- a/OpenUtau/ViewModels/TrackHeaderViewModel.cs +++ b/OpenUtau/ViewModels/TrackHeaderViewModel.cs @@ -285,6 +285,7 @@ public void RefreshPhonemizers() { items.Add(new MenuItemViewModel() { Header = $"{ThemeManager.GetString("tracks.more")} ...", Items = DocManager.Inst.PhonemizerFactories.GroupBy(factory => factory.language) + .OrderBy(group => group.Key) .Select(group => new MenuItemViewModel() { Header = (group.Key is null) ? "General" : group.Key, Items = group.Select(factory => new MenuItemViewModel() {