The Jeans mass, given by $M_J=\sqrt{\left(\frac{-5k_BT}{Gm}\right)^3\cdot\left(\frac{3}{4\pi\rho}\right)}$, is the threshold mass a dust cloud must have in order to begin gravitationally collapsing onto itself. However, wouldn't this violate the second law of thermodynamics? Since the volume is decreasing ($V_f<V_0$) and attending to the definition of the entropy increase for an ideal gas (according to Eddington, ordinary stars behave like ideal gases), $\Delta S=Nk_Blog(\frac{V_f}{V_0}) \Longrightarrow \Delta S < 0$.
Therefore, does it make sense for the dust cloud to collapse onto itself even if its mass surpasses a given threshold value? According to the argument I've given, a cloud could never collapse onto itself as long as it's considered an isolated system because it would violate the second principle.