Sorting of devices by "Address" in the device list should sort the devices in increasing device code order. Currently it sort them as
APCUPSD 1-Q1
APCUPSD 1-Q11
APCUPSD 1-Q12
...
APCUPSD 1-Q2
...
while I had hoped it would sort them as follows
APCUPSD 1-Q1
APCUPSD 1-Q2
..
APCUPSD 1-Q10
APCUPSD 1-Q11
...
I tried to insert a zero after the letter if the string returned by GetNextVirtualCode is two characters (Q1 -> Q01), but as side effect subsequent GetNextVirtualCode will return the same initial code Q1).
APCUPSD 1-Q1
APCUPSD 1-Q11
APCUPSD 1-Q12
...
APCUPSD 1-Q2
...
while I had hoped it would sort them as follows
APCUPSD 1-Q1
APCUPSD 1-Q2
..
APCUPSD 1-Q10
APCUPSD 1-Q11
...
I tried to insert a zero after the letter if the string returned by GetNextVirtualCode is two characters (Q1 -> Q01), but as side effect subsequent GetNextVirtualCode will return the same initial code Q1).
Comment