The order of my citations in my original document text is messed up. For example, my text is like this:
Hello World is the best program \cite{helloWorld} and I use Latex \cite{latex}.....
....this is a new feature \cite{new}
while the citations are like this:
Hello World is the best program [11] and I use Latex [8].....
....this is a new feature [1]
and then in the .bib file I have some citations:
@article{speech,
author = "name",
title = "Title",
pages = "13",
}
The citation where it shows [1] in the document is the one that I typed into my .bib file before typing anything else. However, now I have fixed the order of all citations in my bib file and arranged them in the order of how they should appear in the text. But still, they aren't appearing from number 1 in the beginning. How can i fix this? I have already tried recompling overleaf many times.
\usepackage[style=numeric,language=english, maxbibnames=99, giveninits=true]{biblatex}
...
\addbibresource{sample.bib}
...
%\bibliographystyle{unsrt}
\bibliographystyle{ieeetr}
%\bibliography{sample}
\printbibliography
\end{document}
\bibliographystyleand add the optionsorting=noneto biblatex – DG' Nov 19 '20 at 22:19\bibliographystylewhen you loadbiblatex. The command will not work as expected (i.e. as with BIbTeX) and will throw an error instead. You also cannot use\bibliographyin the document body when you usebiblatex. – moewe Nov 20 '20 at 07:25\bibliographystyleand addingsorting=noneas suggested in the link above but it doesn't fix the problem. @moewe – x89 Nov 20 '20 at 09:37