When I cite several articles, sometimes the output in the paper looks like this:
...text [1, 5, 10, 7, 8]
How can I force latex or biblatex to resort the entries in "optimal" order, so that the result is more in line with this:
...text [2-6]
Is this possible? I am using "autocite" command.
sort
andcompress
while using natbib. But something like [1,5,10,7,8] cannot be compressed, you are not citing number in between. On the other hand, when using a numerical sorted style, something like \cite{A,B,C,D} becomes [1-4] or [2-5] and so on, but it implies citations A, B, C and D are cited in this order. Besides, you cannot say much if we don't know the style you are (or should be) using. Check bibtex style for more info.