XML: Preserve existing comments, in order

When sorting, keep each comment
together with its following element