Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Marden 235 posts 338 karma points MVP 2x c-trib
    Jan 22, 2009 @ 11:25
    Paul Marden
    0

    Sort on $sortOrder

    I've for a for-each loop which is sorting on $sortOrder, however the items in the list are coming out in alphabetic order not numeric order. So in my 11 node list, I'm getting the items listed thus

    1, 10, 11, 2, 3, 4, etc

    whereas I want the list in numeric order

    1, 2, 3, 4, ..., 10, 11

    I've tried two version of the XSLT....

    [code]

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Jan 22, 2009 @ 11:38
    Peter Dijksterhuis
    1

    Try this:

    [code]

    [/code]

    HTH,
    PeterD

  • Paul Marden 235 posts 338 karma points MVP 2x c-trib
    Jan 22, 2009 @ 11:50
    Paul Marden
    0

    Solved......you ruddy star!

Please Sign in or register to post replies

Write your reply to:

Draft