sort på navigationstitel?
Hey alle...Vil gerne have sorteret på min navigations titel, men er lidt i tvivl om hvordan og hvorledes...
--------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output omit-xml-declaration="yes" encoding="utf-8" method="html" />
<!-- Utility Variables -->
<xsl:variable name="selectedMenuItemClass">sel </xsl:variable>
<!-- Navigation rendering -->
<xsl:variable name="FilenamePrefix">
<xsl:value-of select="Navigation/@FilenamePrefix" />
</xsl:variable>
<xsl:variable name="FileExtension">
<xsl:value-of select="Navigation/@FileExtension" />
</xsl:variable>
<xsl:variable name="SelectedPageId">
<xsl:value-of select="Navigation/@PageId" />
</xsl:variable>
<xsl:variable name="queryparams">
<xsl:value-of select="Navigation/RequestContent/ServerVariables/Entry[@Name='QUERY_STRING']" />
</xsl:variable>
<xsl:template match="Module">
<xsl:apply-templates select="Layout" />
</xsl:template>
<xsl:template match="Layout">
<xsl:apply-templates select="Row" />
</xsl:template>
<xsl:template match="Row">
<xsl:apply-templates select="Cell" />
</xsl:template>
<xsl:template match="Cell">
<xsl:value-of select="translate(ContentArea, '

 ', '')" disable-output-escaping="yes" />
</xsl:template>
<xsl:template match="Navigation">
<xsl:apply-templates select="NavigationElement[@ShowInNavigation='true']" />
<br />
</xsl:template>
<xsl:template match="NavigationElement[@ShowInNavigation='true']">
<xsl:variable name="itemClass">
<xsl:if test="@Selected='true'">
<xsl:copy-of select="$selectedMenuItemClass" />
</xsl:if>
<xsl:if test="@ChildSelected='true'">
<xsl:copy-of select="$selectedMenuItemClass" />
</xsl:if>
</xsl:variable>
<xsl:if test="not($itemClass='')">
<xsl:attribute name="class">
<xsl:copy-of select="normalize-space($itemClass)" />
</xsl:attribute>
</xsl:if>
<div class="indholdsnavigationmenu">
<li>
<a>
<xsl:attribute name="href">
/<xsl:value-of select="LongUrl" /><xsl:if test="$queryparams != ''"><xsl:text>?</xsl:text><xsl:copy-of select="$queryparams" /></xsl:if></xsl:attribute>
<xsl:attribute name="title">
<xsl:value-of select="NavigationTitle" />
</xsl:attribute>
<xsl:value-of select="NavigationTitle" />
</a>
</li>
</div>
<xsl:if test="NavigationElement[@ShowInNavigation='true']">
<xsl:apply-templates select="NavigationElement[@ShowInNavigation='true']" />
</xsl:if>
</xsl:template>
</xsl:stylesheet>