Which clicking a header on an SDataGrid,
OnChangedSortOrderForColumn is sometimes called twice. If you have previously sorted another column, it will called OnChanged for the column you are clicking and then call it again for the column that had previously been sorted (changing it from sorted to unsorted.)
Is there any way to prevent this call from occuring twice under this circumstance, or at least will we always know what order the OnChanged will be called? (Is the newly clicked item the first, or the second call?) The method's description is misleading:
"Informs the delegate that a column has just had its sortOrder changed as a result of a user's tap gesture on said column's header cell" seems to imply the method is only called when the column's own header is tapped.