PHP Glob Sort by Unsigned int

$list = glob("*.jpg");
natsort($list);
foreach(array_reverse($list) as $filename) { ...
LemonzDEV