mirror of
https://github.com/caddyserver/caddy.git
synced 2025-12-08 06:09:53 +00:00
For files with regions of numbers and other characters, it's intuitive to have the numbers sorted by increasing numeric value rather than by ASCII code. (Jeff Atwood has a nice article here: https://blog.codinghorror.com/sorting-for-humans-natural-sort-order/) For example, the listing for a directory containing `foo1`, `foo2`, and `foo10` would sort in that order, rather than putting `foo10` between `foo1` and `foo2`. Closes #7226 |
||
|---|---|---|
| .. | ||
| foo.php.php | ||
| foodir | ||
| natsort | ||
| %D9%85%D9%84%D9%81.txt | ||
| foo.txt | ||
| index.php | ||
| large.txt | ||
| notphp.php.txt | ||
| remote.php | ||
| ملف.txt | ||