Layer-Stacking Sequence Governs Ion-Storage in Layered Double Hydroxides.