[Tex/LaTex] Nomenclature sorting and latex code coming first

lyxnomenclaturesortingsymbols

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.

enter image description here

Best Answer

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

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