If a process leads to the arrangement in a system, it will have a negative entropy, whereas if disorder increases, the entropy will be positive. When the number of moles of a gas increases, or ice melts, the disorder increases. Freezing of water, crystallization, combination reactions etc, leads to an arrangement.
CO2(s)→CO2(g);ΔS=+ve(Δng>0)
N2(g)+3H2(g)→2NH3(g);ΔS=−ve(Δng=−ve)
CaCO3(s)→CaO(s)+CO2(g);ΔS=+ve(Δng>0)
Dissolution of I2 in H2O;ΔS=+ve.