Say I have an object that looks like:
{
  0: { ... }
  1: { ... }
  2: { ... }
  ...
  92812093: { ... }
}
If removed some elements throughout this object, how can I keep their relative order? In other words, if between 0 and 3, I removed the key 2, I would want the new keys to be 0, 1, 2, where 0 and 1 were untouched, by 3 has now become 2.
 
    