The first one is always kept the same when you share fittings via chat or copying it to the clipboard and it should be kept the same because the order of the modules matters for heat management.
The second one isn’t defined by the ship fitting, just by however the pilot drags the buttons around. This one isn’t kept when you share it with someone else.