Quote:
Originally Posted by Noughty
Thanks for the comments with them I managed to make edit easily. Now just to figure out how to sort the list 
|
That is easy (if you know how

). Replace the "return ..." line with the following two lines.
Code:
from calibre.utils.icu import sort_key
return ', '.join(sorted(res, key=sort_key))
This sorts the list in order respecting the current language rules, then converts it to a string.