Abstract
We calculate the total energy of random Al0.5Ga0.5As alloys and ordered (AlAs)n(GaAs)n superlattices through a series expansion in multi-atom interaction energies obtained from the local-density formalism. We find that the alloy is more stable than the monolayer (n=1) superlattice at all temperatures, but it could order into longer-period (n2) superlattices below a critical temperature T(n,G) calculated for various growth orientations G.