I am running 5.10.0 and I suspect a problem with tweaks author_sort_copy_method...
A (not so) long time ago, under version 4, I did tweak the author_sort_copy_method by changing from comma to
Code:
author_sort_copy_method = 'nocomma'
.. . All that worked perfectly and still work that way today...
Well, today I observed a few bad author sorts so I changed from false
Code:
author_use_surname_prefixes = True
and I also added 'ANTHOLOGIE' in the author_name_copywords.
The author value "ANTHOLOGIE par Asimov" does copy as such in the author_sort field, BUT
The author "Alfred E Van Vogt" still sort automatically to "Vogt Alfred E Van"... I suspected a problem with capital letter so I added "Van" to
Code:
author_surname_prefixes = ['da', 'de', 'di', 'la', 'le', 'van', 'von', 'Van']
. No success.
So I removed ANTHOLOGIE from the author_name_copywords and I got a different author from author_sort value... So it's working?!?
So I changed 'nocomma' to 'comma' (in fact I did a reset) and the author sort did NOT change (I still have "fn ln" -> "ln fn" without the comma)


I have been looking around but have not been able to find anything similar... I have the calibre source from git and follow the evolution, I have seen a recent commit named '
Add a new tweak under "Author sort name algorithm" to optionally recognize common surname prefixes such as von, van, de etc.)' But I cannot (yet) understand python class and/or object programming...
Oh yes, I am running calibre in french if that matters and I have a few extentions... Tell me if you need more informations from me or if there is a better place to report this.