Documentation/Citations & Bibliography/How to Sort Bibliography by Year (Newest First) in LaTeX
Citations & Bibliography

How to Sort Bibliography by Year (Newest First) in LaTeX

By default, most LaTeX bibliography styles sort entries alphabetically by author or in citation order. But sometimes you need reverse chronological sorting — newest publications first — especially for CVs, publication lists, or literature reviews. This guide shows how to achieve this with both BibTeX and biblatex. Bibby AI handles bibliography sorting automatically, updating the order in the preview as you add new references.

Sort by Year (Newest First) with biblatex

biblatex makes custom sorting easy with built-in sorting schemes and custom sort definitions:

% Method 1: Use a built-in reverse sort (year descending)
\usepackage[
    backend=biber,
    style=authoryear,
    sorting=ydnt  % Year (descending), Name, Title
]{biblatex}
\addbibresource{references.bib}

% Common sorting schemes in biblatex:
% nty  — Name, Title, Year (default for authoryear)
% nyt  — Name, Year, Title
% nyvt — Name, Year, Volume, Title
% ynt  — Year, Name, Title (oldest first)
% ydnt — Year Descending, Name, Title (newest first!)
% none — Citation order (like unsrt)

% Method 2: Define a fully custom sorting scheme
\DeclareSortingScheme{ymdnt}{
    \sort[direction=descending]{
        \field{year}
        \literal{9999}
    }
    \sort[direction=descending]{
        \field{month}
    }
    \sort{
        \field{sortname}
        \field{author}
    }
    \sort{
        \field{title}
    }
}
\ExecuteBibliographyOptions{sorting=ymdnt}

Sort by Year with BibTeX/natbib

BibTeX sorting is controlled by the .bst file. Standard files don't support reverse chronological, but you can use a custom .bst or create one:

% Standard BibTeX sorting options (via .bst files):
% plain.bst    — alphabetical by author
% unsrt.bst    — citation order (no sorting)
% abbrv.bst    — alphabetical, abbreviated names

% For year-based sorting, you have two options:

% Option 1: Use a custom .bst that supports year sorting
% Some journal .bst files support this; check the file's documentation

% Option 2: Use multibib or bibunits with manual ordering
% Separate your bibliography into year groups:
\usepackage{multibib}
\newcites{recent}{Recent Publications}
\newcites{older}{Earlier Publications}

% Cite from different groups:
\citerecent{smith2024, jones2024}
\citeolder{lee2020, brown2018}

% Print separate bibliographies:
\bibliographystylerecent{plainnat}
\bibliographyrecent{references}
\bibliographystyleolder{plainnat}
\bibliographyolder{references}

% Option 3: Switch to biblatex (recommended for this use case)
% biblatex's sorting=ydnt is the cleanest solution

Sort by Year Within Sections (Publication Lists, CVs)

For CVs and publication lists, you often want entries grouped by type (journals, conferences) and sorted by year within each group:

\usepackage[
    backend=biber,
    style=authoryear,
    sorting=ydnt,       % Newest first
    defernumbers=true   % Number entries per-section
]{biblatex}
\addbibresource{my-publications.bib}

% Add keywords to your .bib entries for filtering:
% @article{smith2024deep,
%     ...
%     keywords = {journal}
% }
% @inproceedings{smith2023fast,
%     ...
%     keywords = {conference}
% }

\begin{document}
\section*{Publications}

\subsection*{Journal Articles}
\printbibliography[
    heading=none,
    keyword=journal,
    sorting=ydnt
]

\subsection*{Conference Papers}
\printbibliography[
    heading=none,
    keyword=conference,
    sorting=ydnt
]

\subsection*{Preprints}
\printbibliography[
    heading=none,
    keyword=preprint,
    sorting=ydnt
]
\end{document}

💡 Tips

  • Use sorting=ydnt in biblatex for a clean reverse-chronological bibliography — it's the easiest and most reliable approach.
  • If you must use BibTeX, switching to biblatex just for sorting is worth it — the migration is straightforward.
  • For CVs and publication lists, combine sorting=ydnt with keyword-based \printbibliography filters to organize by publication type.
  • Bibby AI sorts your bibliography in the live preview, so you can instantly verify the order looks correct.

Try This in Bibby AI

Write LaTeX faster with AI auto-complete and instant compilation.

Start Writing Free

Related Tutorials

How to Sort Bibliography by Year (Newest First) in LaTeX | Bibby AI