diff --git a/pandora_console/include/rest-api/models/Model.php b/pandora_console/include/rest-api/models/Model.php index 802a22b975..968ed496e6 100644 --- a/pandora_console/include/rest-api/models/Model.php +++ b/pandora_console/include/rest-api/models/Model.php @@ -58,7 +58,7 @@ abstract class Model $this->validateData($unknownData); $this->data = $this->decode($unknownData); // Sort alphabetically. - ksort($this->data); + ksort($this->data, (SORT_NATURAL | SORT_FLAG_CASE)); }