- print_r: documentation ( source)
- array_values: documentation ( source)
- sort: documentation ( source)
<?php
$a = Array
(
'abc' => Array
(
2 => 2,
3 => 3,
5 => 5,
1 => 1
)
);
$b = array_values($a['abc']);
sort($b);
print_r($b);