I've got a jquery json request and in that json data I want to be able to sort by unique values. so I have
{"people":[{"pbid":"626","birthDate":"1976-02-06","name":'name'},{"pbid":"648","birthDate":"1987-05-22","name":'name'},.....
So, far, i have this
function(data){ $.each(data.people, function(i, person){ alert(person.birthDate); }
but, I am at a total loss as to how efficiently get only the unique birthDates, and sort them by year (or any sort by any other personal data).
I'm trying to do this, and be efficient about it (i'm hoping that is possible).
Thanks