I am currently working on citing multiple citations with page numbers and want to order the citations by their reference number similar to this link. I am currently using LaTex I found from this question to help me write \citetext{\citealp{ref2}; \citealp[pg.200]{ref1}}, however, it does not appear to put them in order. My current commands are:
\usepackage[square, numbers,sort&compress]{natbib}
\begin{document}
I would like to order these citations by reference number \citetext{\citealp{ref2}; \citealp[pg.200]{ref1}}.
\bibliographystyle{siam}
\bibliography{bibfile}
\end{document}
When I use \cite{ref2,ref1} the command correctly displays these citations in order as [1,2] but when I write them as I have it above, I get [2;1,pg.200]. Is it possible to automatically make them [1,pg.200;2]?
Thanks in advance