summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-09-02 06:15:35 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-09-02 06:15:35 (GMT)
commit5994577c403d8622c535fa5d7fd3fd2d8b364043 (patch)
treeb689fcd911139cbd5e64a201abb7d705fc329ad7 /demos
parent5477cb3bbc97e4b419c5ea5bbe4f137959b9140d (diff)
downloadQt-5994577c403d8622c535fa5d7fd3fd2d8b364043.zip
Qt-5994577c403d8622c535fa5d7fd3fd2d8b364043.tar.gz
Qt-5994577c403d8622c535fa5d7fd3fd2d8b364043.tar.bz2
SameGame score XSLT now sorts by score.
Diffstat (limited to 'demos')
-rwxr-xr-xdemos/declarative/samegame/highscores/score_style.xsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/declarative/samegame/highscores/score_style.xsl b/demos/declarative/samegame/highscores/score_style.xsl
index 7dcf07e..670354c 100755
--- a/demos/declarative/samegame/highscores/score_style.xsl
+++ b/demos/declarative/samegame/highscores/score_style.xsl
@@ -13,6 +13,7 @@
<th>Time, s</th>
</tr>
<xsl:for-each select="records/record">
+ <xsl:sort select="score" data-type="number" order="descending"/>
<tr>
<td><xsl:value-of select="name"/></td>
<td><xsl:value-of select="score"/></td>