Merge "Improve the sort documentation slightly." into klp-dev