documentation for sortingController