I agree with
@Ohio Bob, the dishwasher is not the best choice.
I'm the odd man out on this topic -- I follow professional winemakers, who take bottles out of the box from the factory and plunk 'em in the bottling line with no other steps.
My current process is to soak bottles in Oxyclean, which removes any previous film. They are dried on a rack and visually inspected. Any that fail get scrubbed. Those that pass go into clean cases, mouth down. The bottles are effectively sealed, nothing can get in, and there is nothing inside the bottle that anything can grow on.
At bottling time they are visually inspected again -- any that fail go to the back of the line (this very rarely happens), and I bottle with no intermediate steps.