Hi I have below array,
$arr = Array ( [0] => 248 [1] => 247 )
Using asort() I get below result,
$arr = Array ( [1] => 247 [0] => 248 )
But I need the below format,
$arr = Array ( [0] => 247 [1] => 248 )
Need to sort only the value not key. Is there any default function in php for my expected result?