diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 70718bb0315..b20f80f5439 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -2357,6 +2357,7 @@ class Societe extends CommonObject $sql = "SELECT rowid, email, statut, phone_mobile, lastname, poste, firstname"; $sql.= " FROM ".MAIN_DB_PREFIX."socpeople"; $sql.= " WHERE fk_soc = ".$this->id; + $sql.= " ORDER BY lastname, firstname"; $resql=$this->db->query($sql); if ($resql)