2.f) While the sections in the profile seem to be sorted alphabetically by yast,
The original author of the merge.xml has written for us some xslt files.
Sort XML file
$ xsltproc --output node.xml.sorted sort.xslt node.xml
Make XML file more human readable
$ xsltproc --output node.xml.pretty pretty.xslt node.xml
We needed these xslt file to be able todo a merge independent from autoyast.
Note:
Maybe the CDATA section gets lost ....
$ cat sort.xslt
<?xml version="1.0" encoding="UTF-8"?>