Issue 93576 - unable to specify sort sequence for empty cells
Summary: unable to specify sort sequence for empty cells
Status: CONFIRMED
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: 4.1.0-dev
Hardware: PC Windows, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-07 21:56 UTC by aboba
Modified: 2013-11-27 19:55 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
suggested solution (42.80 KB, image/jpeg)
2013-11-27 19:55 UTC, Edwin Sharp
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description aboba 2008-09-07 21:56:12 UTC
Empty cells appear last in sort regardless of whether ascending or descending
sort is selected.

From a practical point of view there are instances where users would want to
sort nulls first. e.g. sheet with columns 'date created', 'date resolved',
'action requested'

If user wishes to keep unresolved requests at top of sheet by ordering on 'date
resolved'/descending+'date created' the desired result isn't achieved. All the
unresolved (null cell) issues sort to the bottom of the list. Depending on the
length of the list they disappear off the bottom of the screen.

A workaround is non-intuitive step of putting a space in 'date resolved' column.
That makes the worksheet difficult to maintain because it can't be determined if
a cell has space entered or is null just by looking at it. Plus user must
remember to put spaces in otherwise empty cells to make sort occur in desired
fashion.

The enhancement requested is that an option to sort nulls before or after other
values be provided. 

There has already been a conscious decision made to have nulls appear at the end
of a sorted list, regardless of sort order. The effect is that nulls are, in
effect, being sorted but _always_ being forced to the end of the list. 

How about providing some control over that behavior so that nulls appearing at
the beginning or end of the sorted list is user selectable? Hopefully it can be
seen from the scenario described above that there are practical user focused
reasons to provide this behavior.
Comment 1 Edwin Sharp 2013-11-27 19:51:16 UTC
Useful enhancement.
Comment 2 Edwin Sharp 2013-11-27 19:55:04 UTC
Created attachment 81998 [details]
suggested solution