I have an PHP Indexed array having only alphabet letters randomly i want to sort this array in ascending order and also want to avoid duplication. e.g.
$letters = array("b","d","g","h","v","a","c","a");
I want like this
$letters = array("a","b","c","d","g","h","v");
How I can perform this scenario specially ?