From 6a50978206770cac30223b415eeef3510bea91df Mon Sep 17 00:00:00 2001 From: Eric Seigne Date: Sat, 16 Mar 2024 11:17:00 +0100 Subject: [PATCH] natural sort of result --- htdocs/core/class/html.formcompany.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/core/class/html.formcompany.class.php b/htdocs/core/class/html.formcompany.class.php index 5c6154a4605..048f5f68dc0 100644 --- a/htdocs/core/class/html.formcompany.class.php +++ b/htdocs/core/class/html.formcompany.class.php @@ -130,6 +130,8 @@ class FormCompany extends Form } $this->db->free($resql); } + //return natural sorted list + natsort($effs); return $effs; }