Page 3 of 3
Re: Alphabeticising a word list?
Posted: Tue Nov 25, 2025 3:55 pm
by dunbarx
Richmond.
The "key" field lists the chars of interest, however many there are. I sorted those alphabetically before prepending to the "main" sorted list just because it seemed appropriate.
Can you modify my handler to maintain the key order? Let me know if you need a hand.
Craig
Re: Alphabeticising a word list?
Posted: Tue Nov 25, 2025 4:06 pm
by richmond62
I suspect that after I have recovered from a rather nasty bout of 'flu
feeling extremely sorry for myself at the moment, so this will have to wait: but it will be first on my list once I am up and about again.
Re: Alphabeticising a word list?
Posted: Tue Nov 25, 2025 11:31 pm
by bn
Here is a version for custom sort that lets you define the alphabet used and which letters take precedence when sorting.
It sorts not only the first letter but sorts all letters of a word according to the preferences.
Could not test it with old slavonic since I have not access to an old slavonic alphabet nor do I have old slavonic text.
All code is in the button as well as some explanations.
Kind regards
Bend
Re: Alphabeticising a word list?
Posted: Thu Nov 27, 2025 2:10 pm
by richmond62
The need for this was put forth by Richmond Mathewson who deals with languages whose
# numerical ASCII or Unicode numbers are not in sort order for that alphabet.
As the alphabets I deal with do not have a historical sort order, only one decoded on by some Profs.; and, even were the letters encoded in than sort oder by the Unicode consortium, were that to work, it would conflcit with modern languages that use some or all of those letters in a different sort order.
Re: Alphabeticising a word list?
Posted: Thu Nov 27, 2025 2:27 pm
by richmond62
-
That works perfectly.
Thank you very much indeed.