Which sequence would be possible for a rock going through the rock cycle?

A. igneous -> melting -> sedimentary -> erosion®metamorphic ->

B. metamorphic -> erosion®igneous -> compaction -> sedimentary

C. sedimentary -> melting -> metamorphic -> pressure -> igneous

D. metamorphic -> melting -> igneous -> erosion