I am stuck with a rather pesky requirement from a journal about ordering references. I have two references where the first author is the same, one written in 2017 and one in 2021. My reference list is generated by placing the reference in 2017 before 2021. With the author, year sort, naturally, this is right because the bib-style file sorts only on the first author. However, the journal requires sorting by all authors before applying the sort-by-year rule. So, in this case, the 2021 reference should come before the 2017 one... I provide a self-contained example below. Any help resolving this is most appreciated!
I am new to the forum, hopefully this information is sufficient for feedback! Thank you.
\documentclass[12pt]{article}
\usepackage{natbib}
\usepackage{filecontents}
\begin{filecontents}{mybib.bib}
@techreport{betermier2021portfolios,
title={What Do the Portfolios of Individual Investors Reveal About the Cross-Section of Equity Returns?},
author={Betermier, Sebastien and Calvet, Laurent E. and Kn{\"u}pfer, Samuli and Kvaerner, Jens},
type={Working Paper},
year=2021
}
@article{betermier2017value,
title={Who are the Value and Growth Investors?},
author={Betermeier, Sebastien and Calvet, Laurent E. and Sodini, Paolo},
journal={Journal of Finance},
volume={72},
number={1},
pages={5--46},
year={2017},
publisher={Wiley Online Library}
}
\end{filecontents}
\begin{document}
I would like the references to order \citet{betermier2021portfolios} before \citet{betermier2017value}. How does one get that done?
\newpage
\renewcommand{\refname}{REFERENCES}
\bibliographystyle{aer}
\bibliography{mybib}
\end{document}