Skip to main content

Sort Constructors

An object defining constructors for the Sort class.

Sort(column, type)

Initializes a new instance of the Sort class with specified sorting settings.

Parameters:

column (required): string
The name of the column to be sorted. Must not be empty or whitespace.

type (required): SortType
The sorting type (ascending or descending).