Alphabetize an associative array by name

How can I alphabetize this array by name so it prints the array in ABC order? You can see my uksort() after the array but i need to dig into the array and select the ‘name’ of each array.

<?php
$data = array(
    0 => array('name' => 'Zebra Corp.',   	'description' => 'This is a description',   'image' => 'image1.jpg'),
    1 => array('name' => 'Alpha Co.', 		'description' => 'This is a description',   'image' => 'image2.jpg'),
    2 => array('name' => 'My Company',  	'description' => 'This is a description',   'image' => 'image3.jpg')
);
uksort($data[]['name'], 'strnatcasecmp');

$id  = 0;

foreach($data as $key => $value){
	$row = $data[$id];
	
	echo $row['image']." - ".$row['name']." - ".$row['description']."<br>";
	$id++;
}
?>

Also, I am using uksort(‘’,‘strnatcasecmp’) because I have some companies that start with lower case letters and without ‘strnatcasecmp’ they are alphabetized and sorted differently

Example 2 from http://be.php.net/manual/en/function.usort.php


<?php
function cmp($a, $b)
{
    return strcmp($a["fruit"], $b["fruit"]);
}

$fruits[0]["fruit"] = "lemons";
$fruits[1]["fruit"] = "apples";
$fruits[2]["fruit"] = "grapes";

usort($fruits, "cmp");

while (list($key, $value) = each($fruits)) {
    echo "\\$fruits[$key]: " . $value["fruit"] . "\
";
}
?>