Introduce bounded bulk::stable_sort_by_key and bulk::stable_sort
Replace use of stable_sort_by_key with bulk::stable_sort_by_key