We have two systems of ideal gas with different temperatures. $N$ & $V$ are being kept constant. The number of accessible microstates of each gas is thereby only influenced by a change in $E$.
The number of accessible microstates is: $$\Omega = \frac{(N-1+U)!}{(N-1)!\,U!}. $$
In regards to $E$ the function is growing at an increasing pace. Since all the energy is kinetic energy this means that the number of accessible microstates further only depends on the temperature.
Now we connect the two systems for only an extremely short amount of time, so that they keep their respective volumes and number of particles. Just a long enough timeframe that a small amount of $Q$ can be transferred from the warm system to the cold system.
This decreases the number of accessible MS in the warm system and increases the number of accessible MS in the cold system. Since $\Omega$ increases rapidly with $E$ this means that the change in the warm system is bigger than the change in the cold system. So if the decrease of MS in one system is bigger than the increase in the other the number of accessible MS overall is decreasing.
How is that possible if we know the number of accessible MS should always increase as stated by the 2nd law of thermodynamics?
kind regards