glob PHP SORT według niepodpisanej int
$list = glob("*.jpg");
natsort($list);
foreach(array_reverse($list) as $filename) { ...
LemonzDEV
$list = glob("*.jpg");
natsort($list);
foreach(array_reverse($list) as $filename) { ...