BibTeX, biblatex and biberBibliography sorted by Year

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
nenu28
Posts: 28
Joined: Mon Jun 27, 2011 11:24 am

Bibliography sorted by Year

Post by nenu28 »

Hello,

I am using BibTeX and I have more than 53 references to put into the bibliography. I have created a BibTeX file and I would like to sort those references by year of publications : 2012, 2011, 2010, ...

Is there any command which can do it ?

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

Bibliography sorted by Year

Post by nlct »

I don't know if you need a particular style, but you can sort bibliography data using the databib package (part of the datatool bundle).

Code: Select all

\documentclass{article}

\usepackage{databib}

\begin{document}
% First argument is the name of new datatool database
% Second argument is list of .bib files
\DTLloadbbl{mybibdata}{acmtr}
% Sort database in order of year starting from most recent
\DTLsort{Year=descending}{mybibdata}
% Add citations
\nocite{*}

% Display bibliography
\DTLbibliography{mybibdata}
\end{document}
Regards
Nicola Talbot
Post Reply