sort Bibliography according to language

I Persian user. in my opinion Zotero is perfect program but I have a problem in Bibliography , for example when I want to sort Persian references at first then English references .How I can sort references according to language white out any problem Citations Citations inside the text .I suggest that add Icon which let users sort the references according to language.
  • This can (unofficially) be controlled by modifying the citation style. What style are you using?
  • I use different style. like IEEE, APA, chicago,cell.For me, alphabet is important
    hanks a lot
  • You would need to modify this for every style you use (Note that the styles you cite explicitly do not sort by language, so this would be contrary to their guidelines). In the bibliography section, add <key variable="language"> to the top of the sort section to sort first by languages
  • edited November 9, 2020
    @bwiernik However, when I inserted <key variable="language"> in the csl file of Style Editor of Zotero, it prompted me as 'Error parsing style: Error: File is not valid XML', does it work?
  • That was just because of a typo. It needs to be <key variable="language"/> (note the ending slash)
  • edited November 9, 2020
    Thanks a lot. Can I use sort="descending" for descending and sort="ascending" for ascending to sort the language? While I try <key variable="language" sort="ascending"/> , it doesn't work.
  • it should work, yes, sorting alphabetically by language field. Does that not work?
  • I think I know the reason why it doesn't work. The language field is empty in some of English references, therefore the oder is weird. After I fill with en, it works
Sign In or Register to comment.