aboutsummaryrefslogtreecommitdiff
path: root/aud/index.php
diff options
context:
space:
mode:
authorAda Isopods <me@bathynomus.xyz>2026-10-23 15:48:40 -0600
committerAda Isopods <me@bathynomus.xyz>2026-10-23 15:48:40 -0600
commit86b0942b5ad79f656021d66f02bf3ac7dfd7ad39 (patch)
treef5b6582f47b8851afccd614a9284c6631cdb5160 /aud/index.php
parent6863fbfdf7ba1cca46bb4b00ff0d33d8e422dafe (diff)
hm. sorting weirdness
Diffstat (limited to 'aud/index.php')
-rwxr-xr-xaud/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/aud/index.php b/aud/index.php
index 7075734..4584166 100755
--- a/aud/index.php
+++ b/aud/index.php
@@ -40,7 +40,7 @@
$files = array_filter(scandir("../../data/deeptwisty/aud"), "test_audio");
usort($files, function($a, $b) { // Sort files by modification date of the files
- return filemtime("$b") - filemtime("$a");
+ return filectime("$b") - filectime("$a");
});
foreach($files as $fi) {