Massive band gap variation in layered oxides through cation ordering