i am trying to organize the index of objects in an array by their first key/value
i have an array objects that are not organized like they should be.
they have to be in order an so I can appropriately add their timers. you can see below they are unorganized and the timers are messed up.
I tried adding object keys but it complicated everything. thanks
var myObject =
[
{ stepNumber: 2,
sendTimeFromNow: 259200000 },
{ stepNumber: 1,
sendTimeFromNow: 259200000 }
]