The sort behavior helps with the process of sorting documents. It delivers several useful methods to manage sorting.
A detailed information about behavior can be found here.