Retrieves a value indicating whether list items are sorted based on item text in ascending or descending order or whether items are not sorted.
public int getSorting()
Returns an integer that indicates how items in the list are sorted. Possible values are constants defined in the SortOrder class.
See Also setSorting