LSsearch : Use strnatcmp instead of strcoll in sorting method

This commit is contained in:
Benjamin Renard 2018-06-11 12:06:55 +02:00
parent 654e3f7381
commit 31b0b71312

View file

@ -1141,7 +1141,7 @@ class LSsearch {
if ($va == $vb) return 0;
$val = strcoll(strtolower($va), strtolower($vb));
$val = strnatcmp(strtolower($va), strtolower($vb));
return $val*$dir;
}