Archivebot should not reorder template parameters.
In https://commons.wikimedia.org/w/index.php?title=User_talk:Carlos_yo&diff=prev&oldid=345742621 and in https://commons.wikimedia.org/w/index.php?title=Commons_talk:Structured_data&diff=prev&oldid=345635841 , archiveheader and minthreadstoarchive got reversed.
While reordering doesn't make any difference semantically, it makes diffs more cluttered than they should be. At least that's what I think @Jeff_G was concerned about when he reported it.
I can think of two approaches:
- Remember the pre-edit parameter order and reproduce it when saving. If new parameters have to be added, they should be at the bottom.
- Always sort the parameters alphabetically - this is easier to implement but it can produce a cluttered diff at first against non-sorted templates.