$tests = array('test1.php', 'test10.php', 'test11.php', 'test2.php');
natsort($tests);
The elements are now ordered: 'test1.php',
'test2.php', 'test10.php', and
'test11.php'. With natural sorting, the number
10 comes after the number 2;
the opposite occurs under traditional sorting. For case-insensitive
natural sorting, use natcasesort( ).