Hello!
The correct order of events is as follows:
1. Marian and Robert are getting married.
2. The Sheriff enters the church.
3. The sheriff orders men to arrest Robert.
4. Robert escapes on a horse.
5. Some men stop Robert in the forest.
6. The men ask Robert to be their leader.
7. Robert changes his name to Robin Hood.