windowsforms-827-controls-and-libraries-data-grid-end-user-capabilities-end-user-capabilities-sorting.md
To sort records by column values and replace existing sort conditions that are applied to the current or other columns, click the target column’s header until an UP or Down Arrow icon is displayed within the header. The Up and Down Arrows indicate ascending and descending sort orders respectively.
To sort records by column values while preserving existing sort conditions, do one of the following.
To remove sorting by a column, click a column header while holding down the CTRL key.
To sort records by card field values and replace existing sort conditions that are applied to current or other fields.
Click the Customize button.
In the Customization window that opens, click the Sort button that corresponds to the target card field.
To sort records by a card field’s values while preserving existing sort conditions:
To remove sorting by a card field:
To sort records by a card field’s values and replace existing sort conditions that are applied to the current or other fields, do the following.
Hover over the target card field within any card. The sort ( ) and filter buttons will appear.
Click the sort button until its image changes to a black arrow ( or ). These images indicate ascending and descending sort orders respectively.
To sort records by a card field’s values while preserving existing sort conditions:
To remove sorting by a card field:
See Also