Sharp Inequalities for Ordered Random Variables in Statistics and Reliability