The correct rearrangement of the given groups of words to make a meaningful sentence is:
C. if all the nations work together
D. for the common good of mankind
B. and agree to obey all the laws
A. then the world will avert all future wars
Therefore, the correct answer is C, D, B, A.