diff --git a/files.php b/files.php index afdfdfc..e1ed67d 100644 --- a/files.php +++ b/files.php @@ -12,11 +12,12 @@
- + getPathname(), $b->getPathname()); + $specialChars = array("$","-","_",".","+","!","*","'","(",")",","); + return strcasecmp(str_replace($specialChars,"\\",$a->getPathname()), str_replace($specialChars,"\\",$b->getPathname())); } // Class to put forward the values for sorting