in reply to Array of hashes

You do realize that hash keys are not ordered in any meaningful way? So what purpose would interleaving them have? What homework is this for?