In IDEA menu tree where all my class files are listed, I can sort my files by type or alphabetically.
That is nice. I need to sort alphabetically. But alphabetically sorting is not exactly alphabetically sorted. When in class name number characters are detected, it is sorted by number value, not as text.
For axample I have 3 classes Class_101_SomeClass, Class_1011_NothingSpecial, Class_901_Important.
I expect them to be in order Class_101_SomeClass, Class_1011_NothingSpecial, Class_901_Important.
But IDEA puts them according to number value in order Class_101_SomeClass, Class_901_Important, Class_1011_NothingSpecial.
I have put much effort in Eclipse to rename classes in that way that they stay in my required order. My Intention is to put some sorting code in beginning of file name followed by descriptive class name, and manage ordering in that way.
IDEA have broken all my logic. Now I only have option to rename to Class_1010_SomeClass, Class_1011_NothingSpecial, Class_9010_Important. But that is not a solution, since I do not know how much number characters I will ever need, and there is really many classes. I do not want to even start that.
Is there some option to tell IDEA not to detect number characters as number values, but treat them as ordinary characters in sorting?