Rear Axle Reassembly
This isn't FH-RM30. It's a freewheel hub. MF-TZ31 is a freewheel and the drive side axle hardware pictured is that of a freewheel hub. Also the skewer and dust shield type (thick and inflexible) are non-Shimano.
As you indicate in the comments, the dust shield can't go over the thin spacer. So therefore the thin spacer needs to be next to the cone. The shield should be able to fit over the locknut by itself.
Always make sure the drive-side cone and locknut are torqued hard against each other before beginning reassembly.