squashed a bug! editing an item and then sorting would cause items to vanish if they had the same timestamp. using timestamp + index to determine what to remove from the array.