Am 29.01.24 um 21:45 schrieb jbf:
> And indeed this is the best solution I could find, though it obviously
> meant that something like '29 April 2017' was no good for sorting on...
> it has to be the US date format YY-MM-DD
How did you expect a simple sorting algorithm to sort by verbose dates?
BTW, YYYY-MM-DD is ISO 8601.
Just out of curiosity from an occasional user: is it possible in indices to specify a separate sort key and displayed term as you can with makeindex? I remember back in the nineties I used numeric sort keys for a Sanskrit index where the letters were Latin (with lots of diacritics) but the sort order was Indic (a, ā, i, ī, ... k, kh, g, gh, ...). I assigned a two-digit "number" (01, 02, 03, ...) to each grapheme and the sort key consisted of hyphen-separated such numbers.