I have my bibliography organized into sections (Papers, Articles, Technical Reports, Books, Online). For example:
Papers:
[4] Paper x
[12] Paper y
etc
Articles:
[2] Article x
[16] Article y
etc
Books:
[1] Book x
[7] Book y
etc
etc
Now the problem, as you can see, is that the references are not sorted in each section. What I would like to do is something like:
Papers:
[1] Paper x
[2] Paper y
etc
Articles:
[3] Article x
[4] Article y
etc
Books:
[5] Book x
[6] Book y
etc
etc
Here is how I'm doing the sectioning:
\printbibheading
\nobibintoc
\printbibliography[heading=npbbib,type=inproceedings,title={Papers}]
\printbibliography[heading=npbbib,type=article,title={Articles}]
\printbibliography[heading=npbbib,type=report,title={Technical Reports}]
\printbibliography[heading=npbbib,type=book,title={Books}]
\printbibliography[heading=npbbib,type=inbook,title={In Books}]
\printbibliography[heading=npbbib,type=misc,title={Online}]
defernumbers=true? If that does not help, please prepare a short but fully compilable MWE with which we can play around. – moewe Oct 10 '16 at 13:16