The law of independent assortment states that the alleles of two or more different genes get sorted into gametes independent of one another.