Den tis 30 jan. 2024 09:06Henning Hraban Ramm <texml@fiee.net> skrev:
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.


Hraban

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________