Sorting and Merging are useful operations deserving a common API.