i'd say revising
when you say editting you usually mean changing up a few words in a sentence, something like that. and most commonly as you are writing
rearranging paragraphs sounds like a revision, something you would do to your essay only after its completed. it wouldn't make any sense if you reordered your paragraphs before the entire essay was done
mb if im wrong