Reordered two code blocks so that YML appears before XML

This matches the style used everywhere else in the docs except for translations (where XLIFF is the recommended format so it makes sense for XML to come first). This is particularly noticable when reading the PDF versions of the docs since only the first code block is rendered in the PDF.

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.0+
| Fixed tickets | N/A