Possible Duplicate:
How to sort an array of objects?
Given the array of record of students below - how would you sort them in ascending order using Javascript according to age?
students = [{
name: "timothy",
age: "9"},
{
name: "claire",
age: "12"},
{
name: "michael",
age: "20"}]