[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Collapse]Grid View
   [Expand]Product Information
    Getting Started
   [Expand]Fundamentals
   [Expand]Concepts
    ASPxGridView Designer
   [Expand]Visual Elements
   [Expand]Examples
   [Collapse]Member Tables
     Member Table: Built-in Export
     Member Table: Cells
     Member Table: Columns
     Member Table: Custom Export
     Member Table: Customization Window
     Member Table: Data Editing
     Member Table: Filtering
     Member Table: Focused Row
     Member Table: Grouping
     Member Table: Master-Detail Relationship
     Member Table: Paging and Scrolling
     Member Table: Preview
     Member Table: Selections
     Member Table: Sorting
     Member Table: Summary
     Member Table: Templates
   [Expand]ASPxGridView - Animated Images
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Member Table: Sorting

Expanded Server

Member Description
ASPxGridView.GetSortedColumns Returns a collection of columns involved in sorting.
ASPxGridBase.SortCount Gets the number of columns involved in sorting.
GridViewDataColumn.SortAscending Sorts the column in ascending order.
GridViewDataColumn.SortDescending Sorts the column in descending order.
GridViewDataColumn.SortIndex Specifies the column's position among sorted columns.
GridViewDataColumn.SortOrder Specifies the column's sort order.

Expanded Client

Member Description
ASPxClientGridView.SortBy Sorts data by the values of the specified data column.
ASPxClientGridView.ColumnSorting Enables you to prevent columns from being sorted.

Is this topic helpful?​​​​​​​