Visual Console Refactor: improved the sorting of the the model's data

Former-commit-id: 3f5fb074fa0839cc207605f92b54cd2af9d16a8a
This commit is contained in:
Alejandro Gallardo Escobar 2019-04-03 17:45:56 +02:00
parent 5ff1a9059a
commit 77ab7cad40
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ abstract class Model
$this->validateData($unknownData); $this->validateData($unknownData);
$this->data = $this->decode($unknownData); $this->data = $this->decode($unknownData);
// Sort alphabetically. // Sort alphabetically.
ksort($this->data); ksort($this->data, (SORT_NATURAL | SORT_FLAG_CASE));
} }