Arrow ordering kernels
Sort RecordBatch
# use Arc;
# use *;
# use AsArray;
# use Int32Type;
# use sort_to_indices;
# use take;
#
let a: ArrayRef = new;
let b: ArrayRef = new;
let batch = try_from_iter.unwrap;
// Sort by column 1
let indices = sort_to_indices.unwrap;
// Apply indices to batch columns
let columns = batch.columns.iter.map.collect;
let sorted = try_new.unwrap;
let col1 = sorted.column.;
assert_eq!;