Stochastic Order via Quantile Functions