Flow when block is created
The order is 1, 2, 3, 5. There is no timestamping; the block itself provides timestamping via the proof of work.

Also, the step 3 is not 'mining', the whole process is what is called mining.