Hi
I have an array
$myarray=array(array("A","Tester"),array("B","Developer"))
Now I want to sort the array based on any of the index values.
Say if I want it by the 1st index then $myarray should be
$myarray=(("A","Tester"),("B","Developer"))
or if I want it by the 2nd index then $myarray should be
$myarray=(("B","Developer"),("A","Tester"))
Can some one give me a function or a hint