I'm using numerical citations. In LaTeX (in fact preferentially in LyX), would like to have a multiple-reference citation be sorted by year of publication [1,2,3]. That is, 3 was published after 2 and 1.
And later in the document if I cite [8,3,24] it should be that 24 was published after 3 and 3 after 8.
However, in the bibliography, I would like these numeric items to be sorted of course by number 1, 2, 3...
There are many questions with similar combinations, but I cannot find this one.
Here's my attempt, using biber
\documentclass[]{article}
\begin{filecontents*}{references.bib}
@misc{first,
title={Reference A},
author={Alice},
year={1980},
}
@misc{second,
title={Reference B},
author={Bob},
year={2000},
}
@misc{third,
title={Reference C},
author={Caleb},
year={1970},
}
\end{filecontents*}
\usepackage[
sortcites=ynt,
sorting=none,
backend=biber,
hyperref=true,
firstinits=true,
maxbibnames=99,
]{biblatex}
\addbibresource{references.bib}
\begin{document}
First: \cite{third,first,second}
Second: \cite{second,first}
\printbibliography
\end{document}
The second citation should be 2,3, since Ref A was published earlier.

![First: [1, 2, 3] Second: [2, 3]
[1] Caleb. Reference C. 1970.
[2] Alice. Reference A. 1980.
[3] Bob. Reference B. 2000.](../../images/0d9618b08402afae0e0858bad838967a.webp)
\intciteorderwas added fairly recently. Make sure your system is fully up to date (https://tex.stackexchange.com/q/55437/35864). – moewe Oct 10 '22 at 19:44TeX Live 2022/dev/Debian)which is pretty recent! I'd rather not mess with my apt-administrated installation since it hasn't let me down so far. Are you saying this feature is from the last few months? It looks like it may be in biblatex v3.18 which is from July 2022. It might be worth giving this context in your answer, since most people are unlikely to have \intciteorder now. – CPBL Oct 12 '22 at 19:47