Installation flashes to the system partition (System as root) while formatting Data formats Data - therefore, it doesn't matter in which order you execute these two stepsso installing the rom is the first step then format?
Also, wipe Cache - again, different partition and therefore it doesn't matter in which order you execute all the three steps
(You also need to wipe Dalwik but it will be wiped while you format Data anyway)
And btw, really Format Data, not just wipe - different thing and different options in TWRP
PS: For practical reasons, install the ROM first, then Format Data - since Formatting Data will also wipe Internal memory, hence also the downloaded RON zip
Last edited: