I use \index in classical way, but also with some macros as content. More precisely, I have some macros like \def\foo{BAR}, and I use then \index{\foo}.
Unfortunately, the index is then order by the name of the macro, not the content of the macro. It's quite embarrassing since all the macros are in the top of the list (due to the use of \).
Is there a way to change that?


`instead and adjusted the title a little. At first I thought you use\definside\index. – Martin Scharrer♦ May 16 '11 at 9:51