Sorting: proper API documentation.