Nomenclature sequence in Lyx

I am using the Nomenclature package in Lyx. I am sorting my entries between Greek symbols, Roman symbols and acronyms. As you can see in the screenshot

the symbols are further separated: with or without subscription. How can I change the sequence so that all symbols are alphabetically ordered?

Let me guess: you forgot $ around A. So $X_t$ and $Y_t$ are sorted as symbols, while A is sorted as a letter. Try $A$ in your \nomenclature command. • Thanks! Perhaps you could also tell me how to change the order for symbols with \bar{...}. At the moment those are separated and listed first. – Franziska Jul 1 '14 at 14:46 • This is described in the documentation :) With the default prefix use \nomenclature[a$x$]{$\bar{x}$}{Definition} – Boris Jul 1 '14 at 14:48 • Thanks for the fast reply. I checked the documentation and internet but didn't find a solution. They are either at the beginning or at the end. An example I use:$\nomenclature[g]{$\bar{\varepsilon}$}{average strain tensor} – Franziska Jul 1 '14 at 15:11
• \nomenclature[g$\epsilon$]{$\bar{\varepsilon}$}{average strain tensor} – Boris Jul 1 '14 at 15:28