Remove email from ALL wordpress emails

//test to remove my email from ALL outgoing emails
add_filter( "wp_mail", "remove_my_email" );

function remove_my_email( $mail_info ){
//remove from array
if( is_array( $mail_info["to"] ) ){
unset( $mail_info["to"][ array_search( "[email protected]", $mail_info["to"] ) ] );
}
//remove from string
else{
$mail_info["to"] = str_replace( "[email protected]", "", $mail_info["to"] );
}
return $mail_info;
}

Sort multidimensional array

<?php
$people = array(
array("name"=>"Bob","age"=>8,"colour"=>"red"),
array("name"=>"Greg","age"=>12,"colour"=>"blue"),
array("name"=>"Andy","age"=>5,"colour"=>"purple"));

var_dump($people);

$sortArray = array();

foreach($people as $person){
foreach($person as $key=>$value){
if(!isset($sortArray[$key])){
$sortArray[$key] = array();
}
$sortArray[$key][] = $value;
}
}

$orderby = "name"; //change this to whatever key you want from the array

array_multisort($sortArray[$orderby],SORT_DESC,$people);

var_dump($people);
?>