Sedimentary rocks are the product of 1) weathering of preexisting rocks, 2) transport of the weathering products, 3) deposition of the material, followed by 4) compaction, and 5) cementation of the sediment to form a rock. The latter two steps are called lithification.
<span>The resulting popcorn, because there is an increase in the entropy. The requirement for a heat input is the give-away.
Also note that corn kernels are not identical, but are instead related to one another in structured ways, and that the differences between popped kernels are not ordered or highly structured.</span>