The <xref:System.Windows.Forms.DataGridView> control provides automatic sorting but, depending on your needs, you might need to customize sort operations. For example, you can use programmatic sorting ...
# Walkthrough: Implementing Virtual Mode in the Windows Forms DataGridView Control When you want to display very large quantities of tabular data in a <xref:System.Windows.Forms.DataGridView> control, ...