Version

Sort<T> Method (SortContext)

Sorts a given IQueryable based on the currently sorted column.
Syntax
'Declaration
 
Public MustOverride Function Sort(Of T)( _
   ByVal query As IQueryable(Of T) _
) As IOrderedQueryable(Of T)
public abstract IOrderedQueryable<T> Sort<T>( 
   IQueryable<T> query
)

Parameters

query
The IQueryable that should be sorted.

Type Parameters

T

Return Value

A sorted IOrderedQueryable, sorted on the currently sorted property.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also