Is it possible to sort an array in C2 by values in another array (of the same size) without writing a custom sort function?
Usually languages that make this functionality available do it by returning a vector of the sort index of array A, and allowing you to sort array B by a vector of indices. I'm not seeing anything like this in C2 but I thought I'd ask if there was some simple way I was overlooking without having to write my own sort function.