I am sure that washing machine is a waste of everything. You hardly ever need hot water and toxic washing substances to contaminate the sewage. But stupid machine does not understand that.
At first, you should live in a block of flats. This means that you consume 100 times less energy than individual cottage villager. Here we speak about 1 vs 100 energy (and other) savings is much more substantial than 211 vs 220, ok? But, you cannot afford for so much savings, right? This accounts for thermal electricity, which means that the power plants that produce electricity also heat your buildings and supply the hot water for free - you do not need neither additional heater nor heating in the washing machine.
Secondly, the machines are stupid. As human, you can see that most of the meals are not fat (yougurt is not fatty, just put your dish under the jet of cool water, help it with your had and see that the dish has cleaned up completely). Only pan after heavy fried pork needs some dishwashing liquids. Everything else (including yogurt) can be washed by the cool water, without dishwashing liquids. Such clean sewage is worth supplied on the fields, for crops growing as opposed to dishwashing liquid contaminated toxins and wastes 0 calories. The washing machines are expensive to produce, waste space and stupid - they do not see that 95% (and 100% for those who do not eat pork) of dishes do not need neither water contamination, nor energy. You just live your dishes in the water to soak for a while. The soaked dishes are easy to rinse with water to clean up. This is the same time you place the dishes into the washing machine and extract them afterwards. But machine is worse - it is stupid and treats all you dishes as absolutely fat. It wastes tons of electricity, dishwashing liquids and contaminates the waters.
Asking which dishwaser to use for sustainability is a mockery over the sustainability.
PS You need clean water only to wash the dirt away at the last stage of washing. The water is not clean anymore after you do that. However, you can reuse it to soak new dishes you want to wash later. (Remember, you need to soak in order the dirt to wash away effortlessly). I often do it. Additionally, I save my time. It takes time to wash and fill some container with water to soak. But, if I combine two processes, I save the environment and time simultaneously. Hardly, washing machine can reuse the gray water.