Greg wrote the following steps in the formation of sedimentary rocks.

Step 1: Weathering of rocks forms sediments
Step 2: Sediments are heated
Step 3: Sediments are deposited
Step 4: Compaction and cementation forms rocks

Which step contains an error?
Step 1
Step 2
Step 3
Step 4