None of these parts can be written in any other order. For instance, the writer can t possibly know what to say in the discussion section before the research project has been designed and conducted and the findings are known. There are plenty of other instances, however, in academic and other writing, when the order of drafting doesn't matter. Here individual temperaments differ. Some writers cannot proceed in any other order than from beginning to end.
Writers also differ in regard to how polished they want to make their drafts as they proceed.
Some cannot move on to the next sentence until the sentence they have just written is perfect. They have to stop and get every word right. They fiddle with word choices and word orders until the sentences says exactly what they want in exactly the right way. Other writers are more comfortable just blurting it all out, then going back later to make the writing precise and polished. Either method might be the best one for writers of differing temperaments.