An editor is a necessity. We rarely can look at our own work and evaluate it objectively.
On my last book, I also hired a "Book Doctor" which is different. She looked at the whole work and made suggestions on what order certain things should be in.
I took her suggestions. The book got published.