I do planning, writing and editing in a chaotic manner. Everything seems to depend on everything else. To manage the text, I include section and subsection titles. Then I make a contents table so I can navigate easily. I plan by writing more titles. Then I rearrange the order when editing. The system works for me and is manageable even with a large quantity of text. My contents table for a book spans three to four pages. Continuity is a real issue. It's too easy to change the order of events and end up with a character driving a car before his first driving lesson.