That sounds a lot like a vortex tube, a tube with no moving parts that separates a stream of air into hot and cold, which at first sounds kind of impossible!
The essential difference is that you have to put in energy to pump the fluid through the tube. Essentially a vortex tube is simply a very inefficient refrigerator that is fully in agreement with the second law of thermodynamics. With Maxwell's demon it is not immediately obvious that it has to do work in order to sort fast from slow atoms.