Have a look at this example: ``` \documentclass{article} \usepackage{imakeidx} \makeindex[title={Index},name={myindex}] \begin{document} Hello world\index[myindex]{p}. Hello world\index[myindex]{pq}. Hello world\index[myindex]{q}. \printindex[myindex] \end{document} ``` Is there any way with which I can print the sequence `pq` after `q`? I have almost zero knowledge of index-making with LaTeX. If there is any method better than the `imakeidx` package, please let me know.