Intermediate honeycomb ordering to trigger oxygen redox chemistry in layered battery electrode