You can also write sortslices(A, dims=1, by=row->row[2]), although I agree it’s not super-obvious what’s going to happen.
3 Likes
You can also write sortslices(A, dims=1, by=row->row[2]), although I agree it’s not super-obvious what’s going to happen.