diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 1c5a6bde9b2..0e4f002dfe5 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -9642,9 +9642,8 @@ function dol_htmloutput_errors($mesgstring = '', $mesgarray = array(), $keepembe } /** - * Advanced sort array by second index function, which produces ascending (default) - * or descending output and uses optionally natural case insensitive sorting (which - * can be optionally case sensitive as well). + * Advanced sort array by the value of a given key, which produces ascending (default) or descending + * output and uses optionally natural case insensitive sorting (which can be optionally case sensitive as well). * * @param array $array Array to sort (array of array('key1'=>val1,'key2'=>val2,'key3'...) or array of objects) * @param string $index Key in array to use for sorting criteria