What I do is clean them by hand and make sure no yeast or beer is left. This I usually do right after pouring the beer that used to be in them. When I am ready to bottle I run a short cycle through my dish washer (no detergent), then I load up my bottles and run a full cycle (again, no detergent) and switch on the heat dry. Then I bottle right out of the dishwasher. The bottles get to about 180 for extended periods which sanitizes. been doing this since I started and have had zero issues.
the water does get up into the interior (atleast in my dishwasher) so this would work for cleaning as well, unless you have a bunch of junk stuck in there, then they might need a little more work.