<xsl:sort select="concat(substring('-', 2 - (. < 0)),'1') * ."
> I noticed that XPATH has a floor,ceiling,round and sum functions but
> no absolute function for numbers. How can I sort nodes by using
> absolute values???
> For example, I would like to do the following
> I could put the absolute number into the XML data, but I thought there
> should be an easier way/XSL-XPath way.