dotnet / dotnet/winforms

Enhance DataGridView to support non-destructive (multi column) Sort

Open
#5,202 8 comments 1 reaction 1 assignee Claimed by @KlausLoeffelmann View on GitHub
api-suggestion area-controls-DataGridView help wanted
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
1d 13m
Merged PRs (30d)
85

Description

`DataGridView.Sort` seems to be implemented via the quick sort algo in `DataGridViewRowCollection.RowArrayList`.

I would like to be able to sort the DataGridView in a non-destructive (stable) way when changing the sort column (clicking the header to sort). Eg. If I sort on the first column and then sort on the second, the rows remain sorted by column 1 for equal values of column 2.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.