I see. I'd suggest to use your own version of xsltComputeSortResult from libxslt/xsltutils.c and remove the following lines:
Ok, I did it, it works. FYI, attached is my updated sorting function. (Although I actually use a slightly different one, a C++ version, so this version is not tested) /Vojtech
Attachment:
xsltICUSort.c
Description: xsltICUSort.c