Trying to sort numbers as numeric fields rather than text

Subject: Trying to sort numbers as numeric fields rather than text
From: desimonp@xxxxxxxxx
Date: Tue, 10 Oct 2000 22:12:40 -0400 (EDT)
I have this xsl line for my order-by

<xsl:for-each select="Row" order-by="NumField">

The Num field has records with values of :23,111,104.

When it sorts these records, they appear in this order:

104
111
23


How do I get them to sort like this:

23
104
111

Also, the HTM page is changing the sort value via JScript using this
command:

objSortOrder = xslPeopleList.XMLDocument.selectSingleNode(//@order-by);
objSortOrder.value = "@fullName";

If there is an attribute for @order-by, I will need to know how to handle
that in JScript.

Thanks

Peter





++++++++++++++++++++++++++++++++++++++++++++++
Peter DeSimone

Email Address: desimonp@xxxxxxxxx
New Email Address:  peter@xxxxxxxxxxxx
Web Address: Http://www.bigfoot.com/~desimonp
New Web Address:  http://www.peter.desimone.com


ICQ:  	20177836
AOL Instant Messenger:  	Peterdesi1

++++++++++++++++++++++++++++++++++++++++++++++




---------------------------------------------------
Get free personalized email at http://www.iname.com


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread