diff --git a/application/modules/default/models/Employee.php b/application/modules/default/models/Employee.php index 14f1ff6e0..9888a3a68 100644 --- a/application/modules/default/models/Employee.php +++ b/application/modules/default/models/Employee.php @@ -108,7 +108,7 @@ public function getEmployees($managerid='',$loginUserId,$limit,$offset,$search_v )) ->where($where) ->limit($limit, $offset) - ->order('e.modifieddate desc'); + ->order('e.firstname asc', 'e.lastname asc'); // ->order('e.modifieddate desc'); Listing of employees should be in alphabetical order of name return $this->fetchAll($employeesData)->toArray(); }