Hi all, i am making a highscores table, i have this array:

var myarray = [
["Raul","Corrales","$12000.00",1993],
["Arnold","Swarzenneger","$99000.00",1952],
["Sylvester","Stallone","$87000.00",1956]
];


In other time i was use a function to sort this but i lost the code and forget it

I want sort by name, or sort by lastname, or sort by money, or sort by birth year.

Example Sorting by name:

Arnold
Raul
Sylvester


I hope you understand my bad english. Thanks all for read this and help. Greetings