I have an object with a id being the key and array[4] value
myArray = {
5bb4c21d2d49b2223066cf62:[1539890687, "GEL-Kayano 25 OBI s", 0, "Black"],
5bb4c21e2d49b22230670aec:[1539877225, "Nike SB Check Solar Leather Skate Shoes", 0,"White"],
5bb4c21e2d49b2223067455e:[1539890979, "GEL-Quantum 360 4", 0, "Grey"],
5bb4c21e2d49b22230672934:[1539890693, "GEL-Contend 4 Wide Width s", 0, "Blue"],
5bb4c21f2d49b222306766b9:[1539890671, "GEL-DS Trainer 23 Casual Shoes", 0, "White"],
5bb7aadfda02b1355e3c0cdb:[1539890596, "Womens ASICS GT-2000 V6", 0, "Black"]
}
How can i sort this object based on timestamp i.e the first value in array[4]?