sorting

the object that controls sorting

object sorting;
Details

The sorting object creates a function for sorting, based on the parameters that the user passed to the sort method. Also, it can use the parameters set in the scheme.$sort.

Sorting consists of create method and as property.

"Create" method

The method creates and returns the function that sorts data. It takes the only parameter config. It is an object with three properties: dir, as and by.

"As" property

The property is an object that includes a type of sorting and the sort function itself.

See also
  • API
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.