a hypothetical being that could separate a mixture of hot and cold water into
two compartments: hot and cold water, letting the hotter-than-average portion through a trapdoor between the compartments.
Maxwell's
demon challenges the second law of thermodynamics: when hot and cold water are mixed, it will reach an equilibrium middling temperature.