diff --git a/app/Repositories/Account/AccountRepository.php b/app/Repositories/Account/AccountRepository.php index 048e3457a5..b9f41daeba 100644 --- a/app/Repositories/Account/AccountRepository.php +++ b/app/Repositories/Account/AccountRepository.php @@ -554,6 +554,7 @@ class AccountRepository implements AccountRepositoryInterface { $dbQuery = $this->user->accounts() ->where('active', 1) + ->orderBy('accounts.name', 'ASC') ->with(['accountType']); if ('' !== $query) { $search = sprintf('%%%s%%', $query);