* Adjust the sort function.