This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

SORTABLE LIST

Allows easy one column sorting of large lists with many columns.

Tags

List, sort, sort order, ascending, descending, up, down, alphabetical, numerical, recent

Status

Description

Allow users to sort long or multi-column lists by clicking on the header of the column they want to use for sorting. Users often prefer to sort long lists, either alphabetically or numerically, to make it easier to find items.

When to Use

This can be used when one column sorting is sufficient to sort a large list.

Do not use:

Current Usage

Evolution (three state sort up/down/un-sorted), Nautilus (two state sort)

User Guide

Keyboard Navigation

Each column that may be used for sorting has a access-key in the button label that allows the user to sort using that column.

Specification

Comment: Is this possible? In that case it would also be useful to have some kind of symbol on the header button to indicate that is possible to use for sorting.

Sort Order

Arrow Direction

Example

Natural

Down

Alphabetical; smallest number first; earliest date first; checked items first

Reverse

Up

Reverse alphabetical; largest number first; most recent date first; unchecked items first)

Comment: Should the previously sorted column also be “un-sorted” or should it be possible to do multi-column sorting by sorting in multiple steps?

Source Code

Terminology

See Also

Competitive Approaches

Feedback

Usability Results and Feedback

Discussion

Regarding what arrow to use in what situation - what do we want it to represent? The current state or the action that will be triggered by clicking?

What I understand after talking to Calum the buttons in the header are a part of the widget and their appearance can't really be changed much. I had a quick look at the buttons in Evolution and they don't scream “I'm a button - click on me". If the buttons looked more like buttons in general it would be natural to use the same principles for labelling as for buttons in general. Now however I can understand if there are different opinions regarding the arrows.

I associate the arrows with “<" and “>" so for me the most intuitive would be to show the current state of “natural" sort order as up arrow (smallest number < largest number) and “reverse" sort order as down arrow (largest number > smallest number). If it shows an action it would be vice versa.

In either case I think it would be useful to the user to see in what way the list is currently sorted. If a e.g. a date is used for sorting the list column might display only the date while the sort also uses the time stamp. In this case it is difficult to easily see the current sort order.

When I worked I had a girl in my staff who specialized in human/computer interaction. We did usability tests logging keystrokes and mouse-clicks, video filming eye movements and expressions etc. This was ten years ago but maybe I can find her and ask for her input on this subject.

Change Log


2024-10-23 11:03