View Full Version : How do I make numbers able to sort in xml?

01-30-2009, 10:34 PM
I am using a php script to create xml from a mySql database. That data is used by Spry to populate a table on a web page. However, when Spry sorts a column of numbers, they are sorted as if they were strings, not numbers.

Example: The following would be the sort order for this list of numbers...

1, 123, 2.3, 26,456, 56, 589, ect...

Any ideas? Please help!!!