I think we need to make the ordering from the row converter the same as the cmp kernels and https://docs.rs/arrow/latest/arrow/array/fn.make_comparator.html
I took a look through the source for those kernels, and they don't seem to support UnionArray yet. So the good news is that you aren't constrained by an existing implementation
Originally posted by @alamb in #8828