...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::sort_by_key
// In header: <boost/compute/algorithm/sort_by_key.hpp> template<typename KeyIterator, typename ValueIterator, typename Compare> void sort_by_key(KeyIterator keys_first, KeyIterator keys_last, ValueIterator values_first, Compare compare, command_queue & queue = system::default_queue());