A list of various events within the rock cycle are shown below.

1. Sediments are compressed and cemented together, forming sedimentary rock.
2. The sedimentary rock is pushed below the ground and subjected to great heat and pressure.
3. Weathering and erosion deposit sediments of the rock in a riverbed.
4. The lava cools to form igneous rock on Earth's surface.

Which of the following sequence of numbers is in the correct order to describe how lava could change into metamorphic rock?