Sequential Solid-State Transformations Involving Consecutive Rearrangements of Secondary Building Units in a Metal-Organic Framework (MOF).