I have this multi array with a url and number in each inner array, how do i sort so the array is organized by highest number to smallest.
var arr = [
["http://example.com", "3"],
["http://example.com2", "1"],
["http://example.com3", "22"]
]
i want it to look like this
var arr = [
["http://example.com3", "22"],
["http://example.com", "3"],
["http://example.com2", "1"],
]