Sortierung der Werke in mehreren Literaturverzeichnissen

Sortierung der Werke in mehreren Literaturverzeichnissen

Ich schreibe meine Abschlussarbeit und muss die beim Schreiben verwendeten Referenzen in separaten Listen entsprechend der Art des verwendeten Materials angeben.

Dafür fand ich die hier verwendeten Beispiele sehr nützlich:https://texblog.org/2012/10/22/multiple-bibliographies-with-biblatex/.

Da ich viele Materialien verwende, habe ich drei verschiedene BIB-Dateien erstellt, damit es für meine eigene Organisation einfacher ist: (i) bibliography.bib, (ii) norms.bibund (iii) cases.bib.

Im folgenden MWE verwende ich nur zwei Dateien, da dies ausreicht, um das Problem zu demonstrieren.

Die erste Liste der Referenzen, die bibliografisches Material enthält, ist korrekt alphabetisch sortiert. Die folgenden Listen (US-Gesetzgebung und EU-Gesetzgebung) sind jedoch zufällig sortiert. Ich konnte nicht verstehen, wie die Werke sortiert werden, und habe auch keine Möglichkeit gefunden, sie alphabetisch zu sortieren.

Das MWE:

\documentclass[12pt, a4paper, twoside, english]{abntex2}

\usepackage[backend=biber,style=apa,language=english]{biblatex}
\addbibresource{bibliography.bib}
\addbibresource{norms.bib}
\addbibresource{cases.bib}

\begin{document}

Some references\footfullcite{European_Commission,European_Commission_2005,EC_DGMHA_2021,IFRC_2021,Schengen_Agreement}

EU legislation\footfullcite{CEU_2008,CEU_2008a,CEU_2009,EP_CEU_2018,EP_CEU_2018a,Schengen_1985,Schengen_1990}

USA legislation\footfullcite{SensenbrennerJr_2002,Cantwell_2021,DelBene_2021,Eshoo_2021}

\printbibliography[title={References},notkeyword=us_norm,notkeyword=eu_norm,notkeyword=norm,notkeyword=cases]
\printbibliography[title={Referenced U.S.A. Legislation},keyword=us_norm]
\printbibliography[title={Referenced E.U. Legislation},keyword=eu_norm]

\end{document}

Hier sind die Einträge aus den .bib-Dateien: (i)bibliography.bib

@misc{European_Commission,
title       =   {Schengen Area},
url         =   {https://home-affairs.ec.europa.eu/policies/schengen-borders-and-visa/schengen-area_en}, 
journal     =   {Migration and Home Affairs},
author      =   {{European Commission}},
language    =   {en}
}
@misc{European_Commission_2005,
title       =   {{Communication from the Commission to the Council and the European Parliament - The Hague Programme: Ten priorities for the next five years The Partnership for European renewal in the field of Freedom, Security and Justice COM/2005/0184 final}}, 
url         =   {https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:52005DC0184},
author      =   {{European Commission}},
year        =   {2005}, 
month       =   {05},
language    =   {en}
}
@misc{EC_DGMHA_2021,
title       =   {{Proposal for a REGULATION OF THE EUROPEAN PARLIAMENT AND OF THE COUNCIL on automated data exchange for police cooperation (“Pr\"{u}m II”), amending Council Decisions 2008/615/JHA and 2008/616/JHA and Regulations (EU) 2018/1726, 2019/817 and 2019/818 of the European Parliament and of the Council COM/2021/784 final}}, 
url         =   {https://eur-lex.europa.eu/legal-content/EN/ALL/?uri=COM:2021:784:FIN},
author      =   {{European Commission and Directorate-General for Migration and Home Affairs}},
year        =   {2021},
month       =   {12},
language    =   {en}
}
@misc{IFRC_2021,
address     =   {Geneva, Switzerland},
title       =   {{Digital Identity: Enabling Dignified Access to Humaniratian Services in Migration}}, 
url         =   {https://preparecenter.org/wp-content/uploads/2021/06/Digital-Identity-Enabling-dignified-access-to-humanitarian-services-in-Migration-Final.pdf},
DOI         =   {10.1163/2210-7975_HRD-9813-2015012},
publisher   =   {International Federation of Red Cross and Red Crescent Societies (FIRC)},
author      =   {{International Federation of Red Cross and Red Crescent Societies}},
year        =   {2021}, 
month       =   {06},
pages       =   {54},
language    =   {en}
}
@misc{Schengen_Agreement,
title       =   {Schengen Agreement},
url         =   {https://www.schengenvisainfo.com/schengen-agreement/},
journal     =   {SchengenVisaInfo.com},
language    =   {en}
}

Und die Einträge aus demnorms.bib

@legislation{CEU_2008,
keywords    =   {eu_norm},
title       =   {{Council Decision 2008/615/JHA of 23 June 2008 on the stepping up of cross-border cooperation, particularly in combating terrorism and cross-border crime}},
url         =   {http://data.europa.eu/eli/dec/2008/615/oj},
author      =   {{Council of the European Union}},
journal     =   {OJ},
volume      =   {L 210},
year        =   {2008},
month       =   {08}, 
pages       =   {1–11},
language    =   {en}
}
@legislation{CEU_2008a,
keywords    =   {eu_norm},
title       =   {{Council Decision 2008/616/JHA of 23 June 2008 on the implementation of Decision 2008/615/JHA on the stepping up of cross-border cooperation, particularly in combating terrorism and cross-border crime}}, 
url         =   {http://data.europa.eu/eli/dec/2008/616/oj},
author      =   {{Council of the European Union}},
journal     =   {OJ},
volume      =   {L 210},
year        =   {2008},
month       =   {08}, 
pages       =   {12–72},
language    =   {en}
}
@legislation{CEU_2009,
keywords    =   {eu_norm},
title       =   {{Council Framework Decision 2009/905/JHA of 30 November 2009 on Accreditation of forensic service providers carrying out laboratory activities}},
url         =   {http://data.europa.eu/eli/dec_framw/2009/905/oj},
author      =   {{Council of the European Union}},
journal     =   {OJ},
volume      =   {L 322},
year        =   {2009},
month       =   {12},
pages       =   {14–16},
language    =   {en}
}
@legislation{EP_CEU_2018,
keywords    =   {eu_norm},
title       =   {{Regulation (EU) 2018/1861 of the European Parliament and of the Council of 28 November 2018 on the establishment, operation and use of the Schengen Information System (SIS) in the field of border checks, and amending the Convention implementing the Schengen Agreement, and amending and repealing Regulation (EC) No 1987/2006}}, 
url         =   {http://data.europa.eu/eli/reg/2018/1861/oj},
author      =   {{European Parliament and Council of the European Union}},
journal     =   {OJ},
volume      =   {L 312},
year        =   {2018},
month       =   {12},
pages       =   {14–55},
language    =   {en}
}
@legislation{EP_CEU_2018a,
keywords    =   {eu_norm},
title       =   {{Regulation (EU) 2018/1862 of the European Parliament and of the Council of 28 November 2018 on the establishment, operation and use of the Schengen Information System (SIS) in the field of police cooperation and judicial cooperation in criminal matters, amending and repealing Council Decision 2007/533/JHA, and repealing Regulation (EC) No 1986/2006 of the European Parliament and of the Council and Commission Decision 2010/261/EU}}, 
url         =   {http://data.europa.eu/eli/reg/2018/1862/oj},
author      =   {{European Parliament and Council of the European Union}},
journal     =   {OJ},
volume      =   {L 312},
year        =   {2018},
month       =   {12},
pages       =   {56–106},
language    =   {en}
}
@legislation{Schengen_1985,
keywords    =   {eu_norm},
title       =   {{The Schengen acquis - Agreement between the Governments of the States of the Benelux Economic Union, the Federal Republic of Germany and the French Republic on the gradual abolition of checks at their common borders}}, 
url         =   {http://data.europa.eu/eli/agree_internation/2000/922(1)/oj},
author      =   {{Belgium, France, Germany, Luxembourg, Netherlands}},
journal     =   {OJ},
volume      =   {L 239},
year        =   {1985},
month       =   {06},
pages       =   {13–18},
language    =   {en}
}
@legislation{Schengen_1990,
keywords    =   {eu_norm},
title       =   {{The Schengen acquis - Convention implementing the Schengen Agreement of 14 June 1985 between the Governments of the States of the Benelux Economic Union, the Federal Republic of Germany and the French Republic on the gradual abolition of checks at their common borders}},
url         =   {https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:42000A0922(02)},
author      =   {{Belgium, France, Germany, Luxembourg, Netherlands}},
journal     =   {OJ},
volume      =   {L 239},
year        =   {1990},
month       =   {06},
pages       =   {19–62}, 
language    =   {en}
}
@legislation{Cantwell_2021,
keywords    =   {us_norm},
location    =   {S. 3195, 117th Congress (2021-2022)},
title       =   {Consumer Online Privacy Rights Act},
url         =   {https://www.congress.gov/bill/117th-congress/senate-bill/3195?s=4&r=8634},
author      =   {Cantwell, Maria},
year        =   {2021},
month       =   {11}
}
@legislation{DelBene_2021,
keywords    =   {us_norm},
location    =   {H.R. 1816, 117th Congress (2021-2022)},
title       =   {Information Transparency \& Personal Data Control Act},
url         =   {https://www.congress.gov/bill/117th-congress/house-bill/1816?s=3&r=5039},
author      =   {DelBene, Suzan K.},
year        =   {2021},
month       =   {03}
}
@legislation{Eshoo_2021,
keywords    =   {us_norm},
location    =   {H.R. 6027, 117th Congress (2021-2022)},
title       =   {Online Privacy Act},
tittleaddon =   {of 2021},
url         =   {https://www.congress.gov/bill/117th-congress/house-bill/6027?s=7&r=828},
author      =   {Eshoo, Anna G.},
year        =   {2021},
month       =   {11},
}
@legislation{SensenbrennerJr_2002,
keywords    =   {us_norm},
location    =   {107th Congress (2001-2002)},
title       =   {{Enhanced Border Security and Visa Entry Reform Act}},
tittleaddon =   {of 2002},
url         =   {https://www.congress.gov/bill/107th-congress/house-bill/3525},
number      =   {H.R.3525},
author      =   {Sensenbrenner, Jr., Frank James},
year        =   {2002},
language    =   {en}
}

Es werden die folgenden Ergebnisse erzielt:

Bildbeschreibung hier eingeben

Bildbeschreibung hier eingeben

Bildbeschreibung hier eingeben

Die Referenzen in den BIB-Dateien folgen der hier dargestellten Struktur:https://github.com/plk/biblatex-apa/blob/master/bibtex/bib/biblatex-apa-test-references.bib#L2563

sorting=ntyIch habe bereits versucht, die Option von zu verwenden biblatex, aber es hat nicht funktioniert.

Hat jemand Vorschläge zur Behebung des Problems?

Antwort1

Die @legislationEinträge in der Frage haben authorFelder, die in der Ausgabe nicht angezeigt werden. Da aber biblatex-apanach Namen sortiert wird, authorwerden die Felder zum Sortieren herangezogen.

Löschen Sie die authorFelder, um eine viel erwartungsgemäßere Ausgabe zu erhalten. Wenn Sie diese Felder nicht an der Quelle löschen können, verwenden Sie eine Quellzuordnung.

\documentclass[12pt, a4paper, twoside, english]{article}

\usepackage[backend=biber,style=apa,language=english]{biblatex}

\DeclareSourcemap{
  \maps{
    \map{
      \pertype{legislation}
      \step[fieldset=author, null]
    }
  }
}

\begin{filecontents}{\jobname.bib}
@misc{European_Commission,
title       =   {Schengen Area},
url         =   {https://home-affairs.ec.europa.eu/policies/schengen-borders-and-visa/schengen-area_en}, 
journal     =   {Migration and Home Affairs},
author      =   {{European Commission}},
language    =   {en}
}
@misc{European_Commission_2005,
title       =   {{Communication from the Commission to the Council and the European Parliament - The Hague Programme: Ten priorities for the next five years The Partnership for European renewal in the field of Freedom, Security and Justice COM/2005/0184 final}}, 
url         =   {https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:52005DC0184},
author      =   {{European Commission}},
year        =   {2005}, 
month       =   {05},
language    =   {en}
}
@misc{EC_DGMHA_2021,
title       =   {{Proposal for a REGULATION OF THE EUROPEAN PARLIAMENT AND OF THE COUNCIL on automated data exchange for police cooperation (“Pr\"{u}m II”), amending Council Decisions 2008/615/JHA and 2008/616/JHA and Regulations (EU) 2018/1726, 2019/817 and 2019/818 of the European Parliament and of the Council COM/2021/784 final}}, 
url         =   {https://eur-lex.europa.eu/legal-content/EN/ALL/?uri=COM:2021:784:FIN},
author      =   {{European Commission and Directorate-General for Migration and Home Affairs}},
year        =   {2021},
month       =   {12},
language    =   {en}
}
@misc{IFRC_2021,
address     =   {Geneva, Switzerland},
title       =   {{Digital Identity: Enabling Dignified Access to Humaniratian Services in Migration}}, 
url         =   {https://preparecenter.org/wp-content/uploads/2021/06/Digital-Identity-Enabling-dignified-access-to-humanitarian-services-in-Migration-Final.pdf},
DOI         =   {10.1163/2210-7975_HRD-9813-2015012},
publisher   =   {International Federation of Red Cross and Red Crescent Societies (FIRC)},
author      =   {{International Federation of Red Cross and Red Crescent Societies}},
year        =   {2021}, 
month       =   {06},
pages       =   {54},
language    =   {en}
}
@misc{Schengen_Agreement,
title       =   {Schengen Agreement},
url         =   {https://www.schengenvisainfo.com/schengen-agreement/},
journal     =   {SchengenVisaInfo.com},
language    =   {en}
}
@legislation{CEU_2008,
keywords    =   {eu_norm},
title       =   {{Council Decision 2008/615/JHA of 23 June 2008 on the stepping up of cross-border cooperation, particularly in combating terrorism and cross-border crime}},
url         =   {http://data.europa.eu/eli/dec/2008/615/oj},
author      =   {{Council of the European Union}},
journal     =   {OJ},
volume      =   {L 210},
year        =   {2008},
month       =   {08}, 
pages       =   {1–11},
language    =   {en}
}
@legislation{CEU_2008a,
keywords    =   {eu_norm},
title       =   {{Council Decision 2008/616/JHA of 23 June 2008 on the implementation of Decision 2008/615/JHA on the stepping up of cross-border cooperation, particularly in combating terrorism and cross-border crime}}, 
url         =   {http://data.europa.eu/eli/dec/2008/616/oj},
author      =   {{Council of the European Union}},
journal     =   {OJ},
volume      =   {L 210},
year        =   {2008},
month       =   {08}, 
pages       =   {12–72},
language    =   {en}
}
@legislation{CEU_2009,
keywords    =   {eu_norm},
title       =   {{Council Framework Decision 2009/905/JHA of 30 November 2009 on Accreditation of forensic service providers carrying out laboratory activities}},
url         =   {http://data.europa.eu/eli/dec_framw/2009/905/oj},
author      =   {{Council of the European Union}},
journal     =   {OJ},
volume      =   {L 322},
year        =   {2009},
month       =   {12},
pages       =   {14–16},
language    =   {en}
}
@legislation{EP_CEU_2018,
keywords    =   {eu_norm},
title       =   {{Regulation (EU) 2018/1861 of the European Parliament and of the Council of 28 November 2018 on the establishment, operation and use of the Schengen Information System (SIS) in the field of border checks, and amending the Convention implementing the Schengen Agreement, and amending and repealing Regulation (EC) No 1987/2006}}, 
url         =   {http://data.europa.eu/eli/reg/2018/1861/oj},
author      =   {{European Parliament and Council of the European Union}},
journal     =   {OJ},
volume      =   {L 312},
year        =   {2018},
month       =   {12},
pages       =   {14–55},
language    =   {en}
}
@legislation{EP_CEU_2018a,
keywords    =   {eu_norm},
title       =   {{Regulation (EU) 2018/1862 of the European Parliament and of the Council of 28 November 2018 on the establishment, operation and use of the Schengen Information System (SIS) in the field of police cooperation and judicial cooperation in criminal matters, amending and repealing Council Decision 2007/533/JHA, and repealing Regulation (EC) No 1986/2006 of the European Parliament and of the Council and Commission Decision 2010/261/EU}}, 
url         =   {http://data.europa.eu/eli/reg/2018/1862/oj},
author      =   {{European Parliament and Council of the European Union}},
journal     =   {OJ},
volume      =   {L 312},
year        =   {2018},
month       =   {12},
pages       =   {56–106},
language    =   {en}
}
@legislation{Schengen_1985,
keywords    =   {eu_norm},
title       =   {{The Schengen acquis - Agreement between the Governments of the States of the Benelux Economic Union, the Federal Republic of Germany and the French Republic on the gradual abolition of checks at their common borders}}, 
url         =   {http://data.europa.eu/eli/agree_internation/2000/922(1)/oj},
author      =   {{Belgium, France, Germany, Luxembourg, Netherlands}},
journal     =   {OJ},
volume      =   {L 239},
year        =   {1985},
month       =   {06},
pages       =   {13–18},
language    =   {en}
}
@legislation{Schengen_1990,
keywords    =   {eu_norm},
title       =   {{The Schengen acquis - Convention implementing the Schengen Agreement of 14 June 1985 between the Governments of the States of the Benelux Economic Union, the Federal Republic of Germany and the French Republic on the gradual abolition of checks at their common borders}},
url         =   {https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:42000A0922(02)},
author      =   {{Belgium, France, Germany, Luxembourg, Netherlands}},
journal     =   {OJ},
volume      =   {L 239},
year        =   {1990},
month       =   {06},
pages       =   {19–62}, 
language    =   {en}
}
@legislation{Cantwell_2021,
keywords    =   {us_norm},
location    =   {S. 3195, 117th Congress (2021-2022)},
title       =   {Consumer Online Privacy Rights Act},
url         =   {https://www.congress.gov/bill/117th-congress/senate-bill/3195?s=4&r=8634},
author      =   {Cantwell, Maria},
year        =   {2021},
month       =   {11}
}
@legislation{DelBene_2021,
keywords    =   {us_norm},
location    =   {H.R. 1816, 117th Congress (2021-2022)},
title       =   {Information Transparency \& Personal Data Control Act},
url         =   {https://www.congress.gov/bill/117th-congress/house-bill/1816?s=3&r=5039},
author      =   {DelBene, Suzan K.},
year        =   {2021},
month       =   {03}
}
@legislation{Eshoo_2021,
keywords    =   {us_norm},
location    =   {H.R. 6027, 117th Congress (2021-2022)},
title       =   {Online Privacy Act},
tittleaddon =   {of 2021},
url         =   {https://www.congress.gov/bill/117th-congress/house-bill/6027?s=7&r=828},
author      =   {Eshoo, Anna G.},
year        =   {2021},
month       =   {11},
}
@legislation{SensenbrennerJr_2002,
keywords    =   {us_norm},
location    =   {107th Congress (2001-2002)},
title       =   {{Enhanced Border Security and Visa Entry Reform Act}},
tittleaddon =   {of 2002},
url         =   {https://www.congress.gov/bill/107th-congress/house-bill/3525},
number      =   {H.R.3525},
author      =   {Sensenbrenner, Jr., Frank James},
year        =   {2002},
language    =   {en}
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}

Some references\footfullcite{European_Commission,European_Commission_2005,EC_DGMHA_2021,IFRC_2021,Schengen_Agreement}

EU legislation\footfullcite{CEU_2008,CEU_2008a,CEU_2009,EP_CEU_2018,EP_CEU_2018a,Schengen_1985,Schengen_1990}

USA legislation\footfullcite{SensenbrennerJr_2002,Cantwell_2021,DelBene_2021,Eshoo_2021}

\printbibliography[title={References},notkeyword=us_norm,notkeyword=eu_norm,notkeyword=norm,notkeyword=cases]
\printbibliography[title={Referenced U.S.A. Legislation},keyword=us_norm]
\printbibliography[title={Referenced E.U. Legislation},keyword=eu_norm]

\end{document}

Richtig sortierte Liste der EU-Gesetzgebung

verwandte Informationen