I am studying for ACS and have trouble understanding how to rank molecules in decreasing or increasing solubility in water...

I know the rules of which molecules are insoluable...But how do you rank them in which is least or most soluble.

The question in the acs included
In which set are the substances arranged in order of decreasing solubility in water?

(A) Al(OH)3 > Mg(OH)2 > NaOH

(B) BaSO4 > CaSO4 > MgSO4

(C) CaCO3 > NaHCO3 > Na2CO3

(D) AgCl > AgBr > AgI