Save as... (*.xlsx) does not save Data Sort Sort Options Headers setting of "Range Contains Column Labels". Must re-select every time Calc file is opened.
Please attach a sample file, reduce the size as much as possible without private information, and paste the information in Menu/Help/About LibreOffice, there is a copy icon.
Created attachment 197382 [details] Sample Spreadsheet Where Bug Occurs Open Sample.xlsx On "Full Club" Sheet Sort Selected Columns by "Last Name" with "Range Contains Column Names" checked. Save (Select Use 2007-365 Format) Close Reopen "Range Contains Column Names" Check no longer there.
Reproducible Version: 24.8.3.1 (X86_64) / LibreOffice Community Build ID: 65412f067af443213e726c93f137ccc85c9a1e06 CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
Repro Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)