Fix #2791. ra_dec_order crashes with multiple input arrays