Visual Console Refactor: improved the sorting of the the model's data
Former-commit-id: 3f5fb074fa0839cc207605f92b54cd2af9d16a8a
This commit is contained in:
parent
5ff1a9059a
commit
77ab7cad40
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue