As you have observed, if you have three sort keys, then the second will be considered only when two items have duplicate values for the first key, and the third will be considered only when two items have duplicate values for the first two keys.
It looks to me as if you want to reorder the keys so Date is given more significance, but I can't work out from your example exactly what your requirements are.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|