say i have a simple array...

Code:
var myArray = [ ['Bob',32], ['Mary',28], ['Alice',33], ... ];
I want to be able to resort this array (ascending/descending) by both name (myArray[i][0]) and age (myArray[i][1]). What's the easiest approach without creating a new array? Or is there one? I know of the sort() method, but wasn't sure that that would work here?