[BUG] t3lib_div::getFilesInDir order differs from order in File list
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_div.php
index 2d35d80..77ac69c 100644 (file)
@@ -2998,7 +2998,7 @@ final class t3lib_div {
                                                                $sortarray[$key] = filemtime($path . '/' . $entry);
                                                        }
                                                        elseif ($order) {
-                                                               $sortarray[$key] = $entry;
+                                                               $sortarray[$key] = strtolower($entry);
                                                        }
                                                }
                                        }