pub fn argsort_all_device( a: impl AsRef<Array>, stream: impl AsRef<Stream>, ) -> Result<Array>
Returns the indices that sort the flattened array.