Add whole-container versions of sort and stable_sort