Here you go:
$vars = array("09","06","12","16");
sort($vars);
foreach ($vars as $value)
{
echo $value."<br />";
}
You can always convert them back to integer if you need them as integer. I put them as string to maintain the leading zero in the first 2 array elements.
Hope this helps.
Regards,
L2c.