Topic
  • No replies
jvogel-11
jvogel-11
51 Posts

Pinned topic .SortItemsBy "Name", "A" not predictable

‏2014-02-04T20:22:15Z |

When using this method to sort a list - it seems to work well when there are three or more items.  However, when there are only two items, the "ascending" sort will not always work between the two items.  For example,

myDiagrams.SortItemsBy "Name", "A", a sorted list will be generated:

Item A

Item B

Item C

Item D

Item E

If I take Items C through D out of the array and run the same sort functions on Item A and Item B, I get:

Item B

Item A

How did Item B suddenly get placed in front of Item A in the list?