8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2947bff + 2d2fe15 commit 4218aa3Copy full SHA for 4218aa3
src/Symfony/Component/Config/Resource/GlobResource.php
@@ -123,7 +123,7 @@ public function getIterator()
123
}
124
125
if (null !== $paths) {
126
- sort($paths);
+ natsort($paths);
127
foreach ($paths as $path) {
128
if ($this->excludedPrefixes) {
129
$normalizedPath = str_replace('\\', '/', $path);
@@ -156,7 +156,7 @@ function (\SplFileInfo $file, $path) {
156
),
157
\RecursiveIteratorIterator::LEAVES_ONLY
158
));
159
- uasort($files, 'strnatcmp');
+ uksort($files, 'strnatcmp');
160
161
foreach ($files as $path => $info) {
162
if ($info->isFile()) {
0 commit comments