Exhaust nuts which way round?

Hi ,
Does it matter which way round these are put back on? For example plain portion of nut nearest manifold or other way round? Can't remember which way round they were in my enthusiasm to remove them.
Thanks for any help. Happy New year to every one. 
Does it matter which way round these are put back on? For example plain portion of nut nearest manifold or other way round? Can't remember which way round they were in my enthusiasm to remove them.

