Solved by JuanFMontesinos in post #2 
              
              
                Yes, in fact model.parameters just yield values from named_parameters
It depends on the code rather than the weights, if the code is the same, the order is the same.