I have run into something (embarrassingly) unexpected, using
sort to alphabetize book titles to be printed in a catalog.
The sort is working pefectly for most of the books. But here
are 5 examples of incorrect sorting (that were, sigh, pointed
out to me by the client):
Computers at Risk: Safe Computing in the Information Age
(should be 2nd)
Computer Science and Artificial Intelligence
(should be 1st)
There is no single correct way of sorting English sentences - different
applications have different requirements. The XSLT 1.0 specification
does not prescribe a collating sequence, it is left to the
implementation.
It looks as if the particular processor you are using is ignoring spaces
in its collation. This is a perfectly legitimate technique, even if it
isn't the one you want. Check whether your chosen processor has any way
of customizing the collation (or switch to a different processor).
Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list