I have several bibliography lists with ynt sorting order each. When I cite references from the list I need [1-4] sorting instead of [1,3,2,4].
\documentclass{report}
\usepackage[defernumbers=true, sorting=ynt,citestyle=numeric-comp]{biblatex}
\begin{filecontents}{bibfile.bib}
@article{Author01,
author = "Author A",
title = "Article A",
journal="J1",
year = "2001"
}
@article{Author02,
author = "Author B",
title = "Article B",
journal="J1",
year = "2002"
}
@article{Author03,
author = "Author C",
title = "Article C",
journal="J1",
year = "2003"
}
@article{Author04,
author = "Author D",
title = "Article D",
journal="J1",
year = "2004"
}
\end{filecontents}
\addbibresource{bibfile.bib}
\DeclareBibliographyCategory{A}
\addtocategory{A}{Author01,Author03}
\DeclareBibliographyCategory{B}
\addtocategory{B}{Author02,Author04}
\begin{document}
I introduce citations from the bib file \cite{Author01,Author03,Author02,Author04}
and it doesn't write [1--4].
\printbibliography[category=A,title={List A}]
\printbibliography[category=B,title={List B}]
\end{document}
I get the following:
Lists are ok for me, the trouble is with the order of references in cite command.


