GeneralSorting index entries

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Sharon
Posts: 1
Joined: Wed May 21, 2014 9:23 pm

Sorting index entries

Post by Sharon »

I'm having difficulty in sorting my index entries, here is my mwe

Code: Select all

\documentclass[a4paper,12pt]{report}
\usepackage{imakeidx}
\makeindex[options=-s ./index.ist,columnseprule,intoc,columns=2]
\begin{document}

\subsubsection{The back of your bra rides up towards your shoulder}
If the back of the bra rides up towards your shoulder blades it usually
indicates the back of the bra is too big. For example – if you are wearing
a 36C, it may be worth trying a 34D or even a 32DD. (Take a look at our
bra sizing guide to help you with this.) 
\index{Bra@\textbf{Bra}|textbf} 

\subsubsection{The bra cup digs into your bust at the top creating a ‘double-bust’ effect}
If the bra cups digs into your bust at the top, it is a sure sign that
the bra cup is too small. Try the next cup size up! 
\index{Bra!classic}
\index{Bra!standard}

\printindex

\end{document}
This is sorting "Bra,classic" and "Bra,standard" before "Bra", but what I'm looking for is the reverse, "Bra" before its subentries.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply