On line 256 I have a function:
// Comparison function
function cmp($filea, $fileb) {
global $dir;
$a = filemtime($dir.$filea);
$b = filemtime($dir.$fileb);
if ($a == $b) {
return 0;
}
return ($a < $b) ? -1 : 1;
}
You can just change the last line to:
return ($a < $b) ? 1 : -1;
That will reverse the order.