39
rated 0 times
[
40]
[
1]
/ answers: 1 / hits: 39231
/ 14 Years ago, thu, may 13, 2010, 12:00:00
How would you sort a multidimensional array in JavaScript?
I have an array full of arrays that contain two dates and a string. I need the main array sorted by one of the date arrays, is this possible?
data stucture:
events = [
{ date 1, date 2, string },
{ date 2, date 2, string },
]
More From » arrays