19.03.19 14:50, Antoine Pitrou ????: >> 2). Go into every XML module and add attribute sorting options to each function that generate xml. > > What do you mean with "every XML module"? Are there many of them? ElementTree and minidom. Maybe xmlrpc. And perhaps we need to add arguments in calls at higher level where these modules are used.