Created attachment 171733 [details] output file sorted correctly after sort on a column without concatenated headings When sorting files with multiple heading lines (attached fille 1), the first output row is incorrectly SUPPRESSED from the output sorted file if the sort is done on a column with concatenated heading lines (column W in the attached file 1) - see attached output file 2 where line 5 in the input file has been suppressed. The sort works correctly if the sort is done on a column with the full number of heading lines (column Y in the attached file 1) - see attached output file 3. In this case there were 3 input heading lines, but the problem is the same with files with 2 heading lines when sorting on columns with concatenated headings.
*** Bug 142146 has been marked as a duplicate of this bug. ***
Created attachment 171802 [details] output file sorted incorrectly after sort on a column with concatenated headings
Created attachment 171803 [details] 1 - LibreOffice spreadsheet with 3-line headings - before sort
surely this is not all that minor a problem, when LO loses a key record when sorting this type of file. Shouldn't someone be investigating?
Surely this isn't all that minor a problem, if LO effectively loses a key record when sorting files of this type. Shouldn't someone be investigating?
Hi Raymond Smith, Can you detail the steps you used to sort the table?
I used the following procedure with the input file (attached file 1) : Verify the print-range settings: - Print range: $A1:$K107 - Rows to repeat: $1:$2 - Columns to repeat: none Select all (click on top left-hand cell) Select Data->Sort Select Options, and then select: - case sensitive - range contains column headings - Direction: Top to bottom (sort rows) Select Sort Criteria, and then specify: - Sort Key 1: PREVIOUS 7-DAY AVERAGE ▲ (column I) => Descending - Sort Key 2: COUNTRY (column F) => Ascending The output file, incorrectly sorted, is attached (file 2) When following the above procedure with Sort Key column J , the result is correct (file 3)
Created attachment 172969 [details] input file described in the comments of June 17 Input file to new test
Created attachment 172970 [details] output file from new test - sorted incorrectly on column I output file from new test - sorted incorrectly on column I
Created attachment 172971 [details] Output file from new test sorted correctly on column J Output file from new test sorted correctly on column J
I could reproduce it with the attachments and also in a new Calc document. The missing values from the columns seem to be "behind" the merged headings. Version: 7.0.6.2 Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b CPU threads: 12; OS: Mac OS X 10.15.7; UI render: default; VCL: osx Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: de7356c2e0cb099fac396808b5a86a0393b48e5f CPU threads: 12; OS: Mac OS X 10.15.7; UI render: default; VCL: osx Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded
For info: the sort doesn't work under Excel either (on either columns I or J) - it returns an error message in both cases declaring that my headings are unacceptable (!). At least LO sorts correctly on column J...
Hello, is there any outlook for getting this bug fixed?