## LaTeX forum ⇒ General ⇒ Sorting index entries

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

### Sorting index entries

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

\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 usuallyindicates the back of the bra is too big. For example – if you are wearinga 36C, it may be worth trying a 34D or even a 32DD. (Take a look at ourbra 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 thatthe 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.

Tags: