Array=>[
0 => [
'id'=>'1'
],
1 =>[
'id' =>'2'
],
2 =>[
'id' =>'100'
]
]
uasort($arr,function ($a, $b){return strcmp((int) $a['id'], (int) $b['id']);});
var_dump($arr['id']);
0 => string '1'
1 => string '100'
2 => string '2'
0 => string '1'
1 => string '2'
2 => string '100'