Backport PR #48987 on branch 1.5.x (REG: Fix regression in assert_frame_equal for categorical and check_like)
Backport PR #48987: REG: Fix regression in assert_frame_equal for categorical and check_like
Yikes this is tricky, the changes in safe_sort are not on 1.5.x @mroeschke any opinion on back porting  the safe sort improvement too? Basically we have to get a MultiIndex back from safe_sort. Not sure if there is another way around this. > @mroeschke any opinion on back porting the safe sort improvement too? Basically we have to get a MultiIndex back from safe_sort. Not sure if there is another way around this.

Could you link the PR(s) that made the change(s) to safe_sort? #48412 and (unfortunately) parts of #48498


We could revert the change that caused this, but since this was a bug fix, we would loose functionality IMO I think it's okay to backport both PRs. They seem fairly narrow toward what they fixed. I guess you can transfer that bug fix whatsnew note from 1.6.0 to 1.5.1. I think I would prefer only back porting the algorithm part from the second one, the other one ties into a few other things we've done, is probably better to keep them together > I think I would prefer only back porting the algorithm part from the second one, the other one ties into a few other things we've done, is probably better to keep them together

Okay sounds good.