BUG: Fix sort_values bug that creates unprintable object
- [x] closes #39426 
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry

The problem occurs when sorting on columns and the `ignore_index` parameter is set to `True`. `sort_values` tries to refit the index after the columns have been sorted resulting in a corrupted dataframe.