Thermodynamic paths and stochastic order in open systems