An MGF-based unified framework to determine the joint statistics of partial sums of ordered random variables