Here's an educated guess: The three publications -- each with three or more authors, right? -- share the same first author; however, it is also the case that the remaining authors are not all the same. The apalike
bibliography style is programmed to sort the bibliographic entries first by the surnames of all authors, and not just by the surname of the author listed first, and only then by the year of the publication. Maybe something like this:
@misc{p:15,author="P. Piyush and A and D",year=2015}
@misc{p:16,author="P. Piyush and A and C",year=2016}
@misc{p:17,author="P. Piyush and A and B",year=2017}
Observe that the author
fields differ only in the "names" of the third-listed authors. The apalike
bibliography style will list the p:17
entry first, and p:15
last, since "B" precedes "C" which, in turn, precedes "D".
If you want the bibliographic entries sorted only by the surnames of the first-listed authors, you should switch to a bibliography style, specifically, to one that is programmed to do indeed sort only by the surnames of the first-listed authors. I suggest you look into using the plainnat
bibliography style.
\RequirePackage{filecontents}
\begin{filecontents}{mybib.bib}
@misc{p:15,author="P. Piyush and A and D",year=2015}
@misc{p:16,author="P. Piyush and A and C",year=2016}
@misc{p:17,author="P. Piyush and A and B",year=2017}
\end{filecontents}
\documentclass{article}
\usepackage[round,sort]{natbib}
\bibliographystyle{plainnat}
\begin{document}
\citep{p:17,p:15,p:16}
\bibliography{mybib}
\end{document}
Addendum: In the meantime, the OP has posted two actual entries from the bib file. Unfortunately, the two particular entries do not actually give rise to the issue the OP says he/she wishes to fix, as the following code demonstrates:
\RequirePackage{filecontents}
\begin{filecontents}{mybib.bib}
@article{Patel2015AAQR,
author = {Patel, Piyushkumar N. and Kumar, Raj},
doi = {10.4209/aaqr.2015.02.0077},
issn = {20711409 16808584},
journal = {Aerosol Air Qual.\ Res.},
keywords = {Dust storm,MODIS,Radiative forcing,Volume size distribution},
number = {5},
pages = {2082--2093},
title = {{Estimation of aerosol characteristics and radiative forcing during dust events over Dehradun}},
volume = {15},
year = {2015}
}
@article{Patel2016AAQR,
author = {Patel, Piyushkumar N. and Kumar, Raj},
doi = {10.4209/aaqr.2015.05.0325},
issn = {16808584},
journal = {Aerosol Air Qual.\ Res.},
keywords = {Aerosol indirect effect,Cloud radiative forcing,Dust,Ice cloud},
number = {8},
pages = {1820--1831},
title = {{Dust Induced Changes in Ice Cloud and Cloud Radiative Forcing over a High Altitude Site}},
url = {PAtel2016AAQR},
volume = {16},
year = {2016}
}
\end{filecontents}
\documentclass{article}
\usepackage[round,sort]{natbib}
\usepackage{url}
\bibliographystyle{apalike}
\begin{document}
\citep{Patel2016AAQR,Patel2015AAQR}
\bibliography{mybib}
\end{document}
Best Answer
The citation format you want is already defined in
apalike
, unless you modified the style. Try the following and if it does not help, maybe update yournatbib
package.In
mybib.bib
I have three entries from different years, where the first two have the same authors and the third is modified:Now for the main document:
Which will give this as output:
EDIT from Ansa211:
You can even define custom commands that make use of the merged list of authors; for example, if you often find yourself writing
\citeauthor{X}'s \citeyearpar{X}
, you can add this to your preamble: