The database is ordered by slot number, not age. I think that when people die, the remaining people aren't shuffled along. They just leave a gap to be filled by another child. So if people die out of order, they're no longer born in order.