diff --git a/includes/model/User_model.php b/includes/model/User_model.php index 304816e8..c8fbee47 100644 --- a/includes/model/User_model.php +++ b/includes/model/User_model.php @@ -104,6 +104,7 @@ function Users_by_angeltype($angeltype) ->join('UserAngelTypes', 'users.id', '=', 'UserAngelTypes.user_id') ->leftJoin('UserDriverLicenses', 'users.id', '=', 'UserDriverLicenses.user_id') ->where('UserAngelTypes.angeltype_id', '=', $angeltype['id']) + ->orderBy('users.name') ->get(); }