Issue 60429

Summary: Sorting with the Toolbar Buttons doesn't consider the active Column and Heading
Product: Calc Reporter: 1251234125 <j-a-n>
Component: editingAssignee: spreadsheet <spreadsheet>
Status: CLOSED DUPLICATE QA Contact: issues@sc <issues>
Severity: Trivial    
Priority: P3 CC: issues, lars_o_hansen
Version: OOo 1.0.2Keywords: oooqa
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
An Calc-Document, with which I tested none

Description 1251234125 2006-01-12 09:17:10 UTC
In the Toolbar there are two buttons for Sorting the Sheet. 

I expect, that they sorts the sheet using the colum which is actually active.
But it still uses the first column for sorting.


Also, it always sorts the heading with, and don't exclude the heading.

If I use the Dialog (Data --> Sort...) it is correct.
Comment 1 lars 2006-01-12 19:32:07 UTC
for me it sorts the column which is active (OOo 2.0.1) (highlighted, selected 
column via header), but I can confirm that it includes the heading in the sort.
Comment 2 lars 2006-01-12 19:32:47 UTC
reassigning to correct owner
Comment 3 1251234125 2006-01-13 07:49:26 UTC
I don't know your correct wording, but there is an difference between an
selection (the cells are displayed inverted) and the active cell (it just has an
black border).

I expect OO todo:
- My active Cell is D13. I click "A->Z" Button.
Actual: The whole Table is sortet with column A.
Expect: The whole Table will be sorted with column D. 

- My active Cell is D1 and I selected the columns C and D (C1:D65536). I click
"A->Z" Button.
Actual: Only the selection is sorted with column C.
Expect: Only the selection will be sortet with column D.

- My active Cell is D39 and I selected A23:D39. I click "A->Z" Button.
Actual: The selection is sorted with column A.
Expect: The selection will be sorted with column D

In all cases:
Actual: The Header is sorted
Expect: The Header will not be sorted and stays at Row 1
Comment 4 1251234125 2006-01-13 07:51:54 UTC
Created attachment 33169 [details]
An Calc-Document, with which I tested
Comment 5 frank 2006-02-16 12:34:01 UTC
This is a double to Issue 7277

*** This issue has been marked as a duplicate of 7277 ***
Comment 6 frank 2006-02-16 12:34:35 UTC
closed double