[PowerCivil .789] Set up xml report to show station in ascending order regardless of Vertical Alignment name

Hi.

I am trying to generate a report showing data for several vertical alignments. I am just showing the data without headers or other information.  The order of the data seems to follow the alphanumerical order of my alignments.

Previously, we have used events to get the data sorted, but we would like to get this done in an xml report.

Is it possible to set up a stylesheet to show the data following ascending station number without using events?

The data is based on the vertical line branch in our raw xml:

Station, Northing, Easting, Elevation

Current stylesheet below.

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.1" xmlns:xsl="www.w3.org/.../Transform" xmlns:fo="www.w3.org/.../Format" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:inr="mycompany.com/mynamespace">
    <xsl:include href="../../format.xsl"/>

    <xsl:output method="text" media-type="text/plain" encoding="iso-8859-1"/>
    <xsl:template match="/">
        <xsl:variable name="gridOut" select="inr:SetGridOut(number(InRoads/@outputGridScaleFactor))"/>
        <xsl:choose>
            <xsl:when test="$xslShowHelp = 'true'">
                <xsl:call-template name="StyleSheetHelp"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:for-each select="InRoads/GeometryProject">

                    <xsl:for-each select="HorizontalAlignment/VerticalAlignment">
                        <xsl:for-each select="VerticalElements">
                            <xsl:apply-templates/>
                        </xsl:for-each>
                    </xsl:for-each>
                </xsl:for-each>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template match="VerticalLine">
        <xsl:value-of select="inr:columnFormat(inr:stationFormat(number(VerticalStart/station/@externalStation), $xslStationFormat, $xslStationPrecision, string(VerticalStart/station/@externalStationName)),10)"/>
        <xsl:value-of select="inr:columnFormat(inr:northingFormat(number(VerticalStart/@northing), $xslNorthingPrecision),18)"/>
        <xsl:value-of select="inr:columnFormat(inr:eastingFormat(number(VerticalStart/@easting), $xslEastingPrecision),18)"/>
        <xsl:value-of select="inr:columnFormat(inr:elevationFormat(number(VerticalStart/@elevation), $xslElevationPrecision),18)"/>

        <xsl:text>&#xd;</xsl:text>
    </xsl:template>


    <xsl:template name="StyleSheetHelp">
        <xsl:text>Notes&#xd;&#xd;</xsl:text>
        <xsl:text>    You must select at least one Civil vertical geometry element &#xd;</xsl:text>
        <xsl:text>    to get results from this report.&#xd;&#xd;</xsl:text>
        <xsl:text>Copyright 2012 Bentley Systems, Inc&#xd;</xsl:text>
    </xsl:template>
</xsl:stylesheet>