Question: ```
$arr = asort($arr);

//some magic code goes here, $arr is not changed

$arr = array_unique($arr);

```

Should I use asort again to be sure `$arr` is asorted?
My tests show that no, I don't. But I'm not sure for 100% if `array_unique` actually removes the 2nd+ repeated elements.

Answer: 
No you do not need to. array\_unique will only remove elements, so the order will always be preserved.
If you do not modify the array after the 'asort()', the array will be ordered.