...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::compute::stable_sort_by_key
// In header: <boost/compute/algorithm/stable_sort_by_key.hpp> template<typename KeyIterator, typename ValueIterator, typename Compare> void stable_sort_by_key(KeyIterator keys_first, KeyIterator keys_last, ValueIterator values_first, Compare compare, command_queue & queue = system::default_queue()); template<typename KeyIterator, typename ValueIterator> void stable_sort_by_key(KeyIterator keys_first, KeyIterator keys_last, ValueIterator values_first, command_queue & queue = system::default_queue());