Two nanocage anionic metal-organic frameworks with rht topology and {[M(H2O)6]6}(12+) charge aggregation for rapid and selective adsorption of cationic dyes.