After creating a multi-dim array like this, how do I sort it?
Assuming \'markers\' is already defined:
var location = []; for (var i = 0; i < mark
Both sort functions posted so far should work, but your main problem is going to be using location as a variable as it is already system defined.
location