A Dynamic Program for Computing the Joint Cumulative Distribution Function of Order Statistics