I've done something wrong. I have a spreadsheet or database and all the sudden data-sort is greyed out or inactive. How can I fix this?

I’ve done something wrong. I have a spreadsheet or database and all the sudden data-sort is greyed out or inactive. How can I fix this?

Hi, it’s hard to tell without having the actual document at hand and knowing your LibreOffice version and operating system. You could also be more specific about what you’ve done.