# Nomenclature sorting and latex code coming first

I am using LyX, which uses Nomenclature package, I guess. As you see in the screenshot 1, \hat{p} comes before everything else. How can I send it back where the other p's are?

Many thanks.

-
It seems I have to give up on this, since I usually get an answer in few minutes here :) –  Danial Tz Jul 19 '11 at 20:21

Use the optional prefix argument for fine-tuning sorting, such as

\nomenclature[p]{$\hat{p}$}{Kinematik pressure}

-
What if I have already a sort code defined. The outcomes is that "p" sorting ends up in Greek letters for me. –  Danial Tz Jul 25 '11 at 8:27
and many thanks by the way. I thought nobody knew the answer. –  Danial Tz Jul 25 '11 at 8:32
I have the same problem. Have you got a solution? –  Anand Dec 20 '12 at 8:16
@Anand I believe this solves the problem –  RazerM May 7 '13 at 1:25