so let's say i have an array:
$people[0] = "Bob";
$people[1] = "Sally";
$people[2] = "Charlie";
$people[3] = "Clare";
if (in_array("Charlie", $people)) {
//move Charlie to first item in array
}
What would be the most efficient way to get Charlie to the first item in the array?