TAdvStringGrid SortIndexes minor discrepancies

Using the SortIndexes function I am sorting a (rather big - slightly over 100.000 rows) table by two columns, like:

asg_Source.SortIndexes.Clear;
asg_Source.SortIndexes.AddIndex(cmb_IteratorColumn1.ItemIndex, true);
asg_Source.SortIndexes.AddIndex(cmb_IteratorColumn2.ItemIndex, true);
asg_Source.QSortIndexed;

Now this works for (as it seems) the biggest part of the table. Only for some entries in IteratorColumn1 have some discrepancies like
C1 C2
A X
A X
A X
A Y
A Y
_ S
_ S
A Y
A Y
A Y
_ S
_ S
_ S
A Z
A Z
A Z

So, some other entries among the sorted values. I guess it will be hard to track down that behaviour - anything I can try?

Maybe this is due to the sort type that is not forced?
Do you set the sort type to be always ssAlphabetic I assume?

Since most of the grid was correctly sorted, I assumed that the default behaviour was Alphabetic. Now I tried to add this:

asg_Source.SortSettings.DefaultFormat := ssAlphabetic;

Which does not change the result. Should I go via the OnGetFormat event or what is the correct procedure? Thank you!

I suggest to try this.
If a problem persists, please try to isolate and send a sample source project with which we can reproduce this here.