diff --git a/SteamAccountManager.AvaloniaUI/ViewModels/AccountSwitcherViewModel.cs b/SteamAccountManager.AvaloniaUI/ViewModels/AccountSwitcherViewModel.cs index 331898a..292ba67 100644 --- a/SteamAccountManager.AvaloniaUI/ViewModels/AccountSwitcherViewModel.cs +++ b/SteamAccountManager.AvaloniaUI/ViewModels/AccountSwitcherViewModel.cs @@ -118,7 +118,8 @@ private async void AddAccount() await _switchAccountUseCase.Execute(string.Empty); } - private IEnumerable SortAccounts(Account[] accounts) => accounts.OrderByDescending(x => x.Rank.Level) + private IEnumerable SortAccounts(Account[] accounts) => accounts.OrderByDescending(x => x.IsLoggedIn) + .ThenByDescending(x => x.Rank.Level) .ThenBy(x => x.Name) .ThenBy(x => x.IsVacBanned);