I need to Sort my references yearly, right now i have tried unsrt, plain. both of them are not working. I have written my bib file according to year though. All i need is to have my references sorted in yearly order.
\documentclass{article}
\usepackage{times}
\begin{document}
This is the example\cite{pena2015galean} and then this one\cite{ostergaard2010diagnosing}. Thanks \cite{pena20galean}
\pagebreak
\bibliographystyle{unsrt}
\bibliography{mybib}
\end{document}
if this is my bib file.
@inproceedings{pena2015galean,
title={Galean: Visualization of Geolocated News Events from Social Media},
author={Pe{\~n}a-Araya, Vanessa and Quezada, Mauricio and Poblete, Barbara},
booktitle={Proceedings of the 38th International ACM SIGIR Conference on Research and Development in Information Retrieval},
pages={1041--1042},
year={2015},
organization={ACM}
}
@inproceedings{pena20galean,
title={xxx},
author={yyyy},
booktitle={zzzzz},
pages={1041--1042},
year={2009},
organization={ACM}
}
@article{ostergaard2010diagnosing,
title={Diagnosing the online information search behavior of commercial airline travelers},
author={{\O}stergaard, Stine and M{\"o}ller, L{\'a}ra},
year={2010}
}
biblatexpackage (i.e.\usepackage[...]{biblatex}), your mention ofunsrtandplainwould indicate that you're not using it. Or is it an option to switch to usingbiblatex? – Torbjørn T. Mar 08 '16 at 12:01sorting=ynt(year-name-title) option ofbiblatex. – Bernard Mar 08 '16 at 12:03biblatexis a package for handling bibliographies (liketimesin\usepackage{times}is a package that changes the font). For some info on how to usebiblatex, see e.g. biblatex in a nutshell (for beginners) and What to do to switch to biblatex?. (This is just for information, I'm not saying that you must do it.) – Torbjørn T. Mar 08 '16 at 12:39