diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 7dd220f25bea875296655110fba8a27742df74fc..358c2a903041d564846e97beb5aa04911dcca570 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -595,7 +595,7 @@ class Form
$sql = "SELECT c.code, c.label";
$sql.= " FROM ".MAIN_DB_PREFIX."c_type_fees as c";
- $sql.= " ORDER BY lower(c.libelle) ASC";
+ //$sql.= " ORDER BY c.label ASC"; // No sort here, sort must be done after translation
dol_syslog(get_class($this).'::load_cache_types_fees', LOG_DEBUG);
$resql=$this->db->query($sql);
@@ -613,6 +613,9 @@ class Form
$this->cache_types_fees[$obj->code] = $label;
$i++;
}
+
+ asort($this->cache_types_fees);
+
return $num;
}
else