Sort By Column Design pattern

Problem summary

The user needs to search or scan a table for values that is of interest

Example

SortByColumn

Usage

  • Use when there are many rows in the table (above 10), which makes it hard to single out one row and its relation to other rows
  • Use when there there are more than one page to show
  • Use when you want to be able to compare rows in a table – for instance numbers.
  • Do not use if the amount of rows are few and the table is easy to search or scan.

Solution

Each column headline/label is a link. When the label is clicked, the rows in the table are ordered ascending by the specific column’s values. If the same label is clicked again, the order is reversed: the rows in the table are now ordered descending by the specific column’s values.

When the rows of a table has been sorted by a specific column, an arrow is often showed beside the column’s label indicating the direction the rows has been sorted in. It is also often seen that the column’s label is presented in another font color or font weight (bold / regular).

Rationale

The pattern provides an easy way to get and overview and compare rows in a table. Furthermore, the pattern is also well known from desktop applications dealing with rows of data.

More example images of the 'Sort By Column' pattern

  • SortByColumn

    From MS Exchange web-mail

1 Comment

Post a comment

Required. Real name or initials only.
Required. Will not be published.
Vote down Vote up
Out of 25 votes, 72.00% like this one.

Example images

  • SortByColumn

Related articles