%%
%% The LaTeX Companion, 3ed
%%
%% Example 16-7-20 on page II-555 in "The sorting of the bibliography".
%%
%% Copyright (C) 2022 Frank Mittelbach
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%%
%% See https://www.latex-project.org/lppl.txt for details.
%%

\documentclass{tlc3exa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{219.0pt}

%  Use biber program

  \makeatletter
  \renewcommand\section{\@startsection{section}{1}{\z@}%
    {-1.25ex \@plus-1ex \@minus-.2ex}%
    {.5ex}%
    {\normalfont\normalsize\bfseries}}
  \makeatother

  \setlength\parindent{0pt}

%StartShownPreambleCommands
\usepackage[defernumbers]{biblatex}
\addbibresource{tlc-ex.bib}
\DeclareRefcontext{byyear}
         {sorting=ynt,labelprefix=A}
%StopShownPreambleCommands

\begin{document}

\cite{book1,article1,article3,book2}
\printbibliography[title=References]

\newrefcontext{byyear}
\printbibliography[type=article,
             title=Articles by year]
\end{document}