The SortMode property specifies the algorithm used to sort the column's data (by display text, edit value or using a custom sorting algorithm).
To provide custom sorting and/or grouping, set the SortMode property to 'Custom' and handle the Sort event.