[Tex/LaTex] Same author same year bibliography order

bibliographiesnatbib

\documentclass[twoside, a4paper, 12pt]{article}

\usepackage{natbib}

\begin{document}

\cite{pastorstambaugh} blah blah blah


\cite{pastorstambaugh2} blah blah blah


\bibliographystyle{apa-good}
\bibliography{bibliography}

\end{document}

I have two references, by the same author and same year, both published in 2002. pastorstambaugh was published first while pastorstambaugh2 was published later. So I want the former to have (2002a) when cited and the latter to have (2002b) when cited. Also I want the former to be listed before the latter in the reference list.

In my .bib file I have:

 @article{pastorstambaugh,
    author  = "P{\'a}stor, L. and Stambaugh, R.",
    title   = "{``Mutual fund performance and seemingly unrelated assets''}",
    year    = "2002",
    journal = "Journal of Financial Economics",
    volume  = "63",
    number  = "3",
    pages   = "315--349",
        month   = "may 30"
        }


                              @article{pastorstambaugh2,
    author  = "P{\'a}stor, L. and Stambaugh, R.",
    title   = "{``Investing in equity mutual funds''}",
    year    = "2002",
    journal = "Journal of Financial Economics",
    volume  = "63",
    number  = "3",
    pages   = "351--380",
        month   = "june 3"
        }

However, when I output the file, the order is reversed as follows:

enter image description here

How can I get the order that I want?

Best Answer

BibTeX (or, better, apa-good) doesn't look at the month field for deciding what reference has been published before the other. If year and authors are the same, it sorts according to alphabetical order by title.

For such a case, modify your bib file as

@article{pastorstambaugh,
  author  = "P{\'a}stor, L. and Stambaugh, R.",
  title   = "{{\GG{20020530}}Mutual fund performance and seemingly unrelated assets}",
  year    = "2002",
  journal = "Journal of Financial Economics",
  volume  = "63",
  number  = "3",
  pages   = "315--349",
  month   = "May 30",
}

@article{pastorstambaugh2,
  author  = "P{\'a}stor, L. and Stambaugh, R.",
  title   = "{{\GG{20020603}}Investing in equity mutual funds}",
  year    = "2002",
  journal = "Journal of Financial Economics",
  volume  = "63",
  number  = "3",
  pages   = "351--380",
  month   = "June 3",
}

and add

\newcommand{\GG}[1]{}

to your document preamble. Why \GG? Because it's the first name that came to my mind. ;-) Use whatever free command name you like.

Self contained example:

\begin{filecontents*}{\jobname.bib}
@article{pastorstambaugh,
  author  = "P{\'a}stor, L. and Stambaugh, R.",
  title   = "{{\GG{20020530}}Mutual fund performance and seemingly unrelated assets}",
  year    = "2002",
  journal = "Journal of Financial Economics",
  volume  = "63",
  number  = "3",
  pages   = "315--349",
  month   = "May 30",
}

@article{pastorstambaugh2,
  author  = "P{\'a}stor, L. and Stambaugh, R.",
  title   = "{{\GG{20020603}}Investing in equity mutual funds}",
  year    = "2002",
  journal = "Journal of Financial Economics",
  volume  = "63",
  number  = "3",
  pages   = "351--380",
  month   = "June 3",
}
\end{filecontents*}
\documentclass[twoside, a4paper, 12pt]{article}

\usepackage{natbib}
\newcommand{\GG}[1]{}

\begin{document}

\cite{pastorstambaugh} blah blah blah


\cite{pastorstambaugh2} blah blah blah


\bibliographystyle{apa-good}
\bibliography{\jobname}

\end{document}

Note that you shouldn't add quotes around titles; it's the bibliography style's job to add them if so is desired (it isn't for apa-good, apparently).

enter image description here

Related Question