diff --git a/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs b/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs index 134e903002..69d2b58d69 100644 --- a/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs +++ b/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs @@ -965,8 +965,10 @@ namespace Ryujinx.Ava.UI.ViewModels : SortExpressionComparer.Descending(app => app.FileSize), ApplicationSort.Path => IsAscending ? SortExpressionComparer.Ascending(app => app.Path) : SortExpressionComparer.Descending(app => app.Path), - ApplicationSort.Favorite => !IsAscending ? SortExpressionComparer.Ascending(app => app.Favorite) - : SortExpressionComparer.Descending(app => app.Favorite), + // Favorite behaves same as sort by name except give favorited apps special ordering by prepending a space + // The intent is to return a block of favorited apps in alphabetical order, followed by all other apps in alphabetical order. + ApplicationSort.Favorite => IsAscending ? SortExpressionComparer.Ascending(app => app.Favorite ? ' ' + app.Name : app.Name) + : SortExpressionComparer.Descending(app => app.Favorite ? ' ' + app.Name : app.Name), _ => null, #pragma warning restore IDE0055 };