Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference

sort(column, order, comparer)

Reorders all rows in tree structure either in ascending or descending order.


columnObjectThe column by which rows will be sorted
orderIntegralUISortOrderSpecifies the sort order
comparer (optional)FunctionA callback function with custom sort operation

Return Value

This method does not return a value.


The order parameter can accept one of the following values of the IntegralUISortOrder enumeration:

  • None - sorting is disabled
  • Ascending - rows are sorted in ascending order
  • Descending - rows are sorted in descending order

When comparer parameter is provided, it will replace the default sorting algorithm with a custom sorting operation set in your app code.

Version Information

Supported in: v1.1

See Also