Skip to content

Commit

Permalink
#22 sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegor Bugayenko committed Nov 20, 2016
1 parent 0723145 commit d243a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/xsl/index.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<xsl:template match="domains">
<ul>
<xsl:for-each select="domain">
<xsl:sort select="usage" data-type="number" />
<xsl:sort select="- usage" data-type="number"/>
<xsl:if test="position() &lt; $max">
<xsl:apply-templates select="."/>
</xsl:if>
Expand Down

0 comments on commit d243a71

Please sign in to comment.