For a Dedekind domain D, let P.D/ be the set of ideals of D that are the radical of a principal ideal. We show that, if D and D0 are Dedekind domains and there is an order isomorphism between P.D/ and P.D0/, then the rank of the class groups of D and D0 is the same.