The step of the writing process that involves organizing your thoughts is B. planning.
When you are planning what you want to write about, you are jotting down many ideas which you may or may not incorporate into your essay later on when you actually start writing. This is only a draft, which you will expand upon later.