Hi,
I suggest you check if there are blank cells or columns, merge cells or columns.Try to remove all formats and check if you can sort.
And the total number of rows and columns on a worksheet limited are 1,048,576 rows by 16,384 columns.
Just checking in to see if the information was helpful. Please let us know if you would like further assistance.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.