The interesting in this question is, that a thermodynamic system in equilibrium has only one temperature: T=dU/dS, so our gas column has only one temperature.
But, if we divide our gas column into horizontal layers, then considering these layers as thermodynamic systems, they will have different temperatures, because the average speed of the molecules is greater on the lower layers as in the upper ones. It is a necessity, because every molecule moving upward loses from its speed.
On the other hand, neighboring layers are connected with each other thermally, and therefore they must have equal temperature in equilibrium, so we come again to the other consequence, that our system has only one temperature.
This is a contradiction. What is the solution?