diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-09-02 06:15:35 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-09-02 06:15:35 (GMT) |
commit | 5994577c403d8622c535fa5d7fd3fd2d8b364043 (patch) | |
tree | b689fcd911139cbd5e64a201abb7d705fc329ad7 /demos | |
parent | 5477cb3bbc97e4b419c5ea5bbe4f137959b9140d (diff) | |
download | Qt-5994577c403d8622c535fa5d7fd3fd2d8b364043.zip Qt-5994577c403d8622c535fa5d7fd3fd2d8b364043.tar.gz Qt-5994577c403d8622c535fa5d7fd3fd2d8b364043.tar.bz2 |
SameGame score XSLT now sorts by score.
Diffstat (limited to 'demos')
-rwxr-xr-x | demos/declarative/samegame/highscores/score_style.xsl | 1 |
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> |