The Excel software automatically expands rows and columns when you sort data and more room is needed for the extra data. You can stop this feature from occurring in the Excel AutoCorrect properties ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results