# unsrt not sorting references [closed]

I have a LaTeX document (article) with several references within it, and a separate BibTeX file with the bibliographical references. In my PDF file the references don't come up in order of [1], [2] etc. but in a more random order like [6] [2] [1] [4] in text.

I am using \bibliographystyle{unsrt} as I thought that was the correct style but it doesn't seem to be having any effect!

-
Welcome to TeX.sx! – Torbjørn T. Dec 4 '12 at 17:25
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. Pehaps you compiled your document with another style before and still have the older auxiliary files in the same directory? Have you tried deleting them? – henrique Dec 4 '12 at 17:33
Simply deleting the old aux files seems to have sorted it, thanks! – Matt Dec 5 '12 at 12:26

## closed as too localized by Kurt, Stefan Kottwitz♦Dec 5 '12 at 16:16

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.