<?php
Array[0]["name"] = "bob";
Array[0]["city"] = "City B";
Array[1]["name"] = "joe";
Array[1]["city"] = "City A";
Array[2]["name"] = "chuck";
Array[2]["city"] = "City C";
?>
How can I sort the above multidimensional associateive array by city, ie so that I could get the following output:
print Array[0][name];
//prints joe
print Array[1][name];
//prints bob
...
Thanks in advance