We consider the relationships among the stochastic ordering of random variables, of their random partial sums, and of the number of events of a point process in random intervals. Two types of result are obtained. Firstly, conditions are given under which a stochastic ordering between sequences of random variables is inherited by (vectors of) random partial sums of these variables. These results extend and generalize theorems known in the literature. Secondly, for the strong, (increasing) convex and (increasing) concave stochastic orderings, conditions are provided under which the numbers of events of a given point process in two ordered random intervals are also ordered.
These results are applied to some comparison problems in queueing systems. It is shown that if the service times in two M/GI/1 systems are compared in the sense of the strong stochastic ordering, or the (increasing) convex or (increasing) concave ordering, then the busy periods are compared for the same ordering. Stochastic bounds in the sense of increasing convex ordering on waiting times and on response times are provided for queues with bulk arrivals. The cyclic and Bernoulli policies for customer allocation to parallel queues are compared in the transient regime using the increasing convex ordering. Comparisons for the five above orderings are established for the cycle times in polling systems.