Excitation Name Ordering Conventions
Ansys Electronics Desktop tries to sort excitations by name, using a sort of "improved" dictionary (lexicographic) ordering that takes into account trailing numerals as a special case.
So if you create some ports in the following chronological order, Port3, Port1A, Port10, Port1, Port3A, Port1A1, Port10A, you will find that they appear in the list as:
Port1, Port3, Port10, Port10A, Port1A, Port1A1, Port3A
Explanation:
- Port1, Port3, and Port10 start with the same string but end in trailing numerals, so they are sorted according to the numeric value of the trailing numerals: 1 < 3 < 10. This is different from the standard dictionary sorting order, which would order them as Port1, Port10, Port3.
- Port10A and Port1A both start with 'Port1' but don't end with trailing numerals, so standard dictionary sorting applies. Numbers come before letters, thus Port10A comes before Port1A (0 is before A in position 6).
- Shorter string ABC comes before longer string ABCD (ABC is a "prefix" of ABCD), so Port10 is before Port10A, and Port1A is before Port1A1.
If the leading strings contain punctuation characters (. and _). The ordering is by the character's ASCII code, so period (ASCII 46) is before underscore (ASCII 95.)