BUG: union should not try to sort inplace because platform impls differ as to when sorting occurs for objects that cannot be compared
Merge pull request #5266 from cpcloud/index-fix-sort-union-5039

BUG: union should not try to sort inplace because platform impls differ as to when sorting occurs for objects that cannot be compared