Is it possible to realize a probabilistic Maxwell's demon using Tesla valve? Imagine a container, with balls of diameter 1x and 10x, moving randomly in all directions. These balls are mixed, so it is a low order system.
Now this container is connected to another container via a slightly modified Tesla valve which has the passage of width 8x. So this passage allows only the balls of diameter 1x and filters the 10x balls. The image below is a section of the Tesla valve, many such can be connected in series to increase the efficiency.

In the allowed direction, the probability of a ball making it through the valve is high. But the probability of a ball travelling in opposite direction is very small, as it has to take the correct path all the time, and even if it takes a single wrong path, it will end up moving in the opposite direction.

Now after a period of time one container has mostly 10x balls and another container has only 1x balls. It is as if though they are sorted automatically, hence a higher order system came out of a lower order system.
Does this work? Is second law of thermodynamics not work in this scenario? What's happening here?
 A: Maxwell's demon highlights the importance of information and ignorance in thermodynamics. By "information" I mean the type of knowledge that is accessible to the observer and by "ignorance" the type of knowledge that remains inaccessible. In the statistical mechanical view of a molecular system the information available to us is macroscopic: the volume of the container, the number of molecules it contains and its energy. On the other hand we are ignorant regarding all microscopic details: where each molecule is and how fast it is moving. Maxwell's demon demonstrates the implications of the fact that some information is unavailable to us: if we could gain access to it we would be able to do things that we otherwise can't.
To get back to the original question, sorting that is based on macroscopic properties (i.e., on knowledge that is accessible to the sorter) is possible and violates no laws (I sort my socks after laundry each time). What is impossible is to sort things based on properties that we cannot observe. When we put it this way there is nothing controversial about Maxwell's demon.
