For example, in the below XML file:

```
<person>
    <name>John</name>
    <id>1</id>

    <name>Diane</name>
    <id>2</id>

    <name>Chris</name>
    <id>3</id>
</person>

```

In XSLT I code:

```
<xsl:template match="person">
   <xsl:apply-templates/>
</xsl:template>

```

So that in the HTML file It renders 

> 
> John1Diane2Chris3
> 
> 
> 

.

But,
I need following output:
**Diane2John1Chris3**

I need to reverse order of first 2 data tags.
Here below first 2 tags

```
<name>John</name>
<id>1</id>

<name>Diane</name>
<id>2</id>

```

Any Idea folks ?