×
Namespaces

Variants
Actions
(Difference between revisions)

Mobile Design Pattern: Sorting

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot fixing redirect link.(Moving links from forum.nokia.com TO developer.nokia.com))
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot update - Fix ArticleMetaData and RevieweApproval)
Line 1: Line 1:
{{ReviewerApproved}}
+
{{ArticleMetaData <!-- v1.1 -->
 +
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
 +
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
 +
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
 +
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Qt SDK 1.1.4]) -->
 +
|platform= <!-- Compatible platforms - e.g. Symbian^1 and later, Qt 4.6 and later -->
 +
|devicecompatability= <!-- Compatible devices e.g.: All* (must have internal GPS) -->
 +
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
 +
|signing= <!-- Signing requirements - empty or one of: Self-Signed, DevCert, Manufacturer -->
 +
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 +
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
 +
|id= <!-- Article Id (Knowledge base articles only) -->
 +
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 +
|translated-by= <!-- [[User:XXXX]] -->
 +
|translated-from-title= <!-- Title only -->
 +
|translated-from-id= <!-- Id of translated revision -->
 +
|review-by= <!-- After re-review: [[User:username]] -->
 +
|review-timestamp= <!-- After re-review: YYYYMMDD -->
 +
|update-by= <!-- After significant update: [[User:username]]-->
 +
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= 20090506
 +
|author= [[User:Yiibu]]
 +
}}
  
[[Category:Mobile_Design]]
+
 
[[Category:Mobile_Design_Patterns]]
+
[[Category:Mobile Design]]
 +
[[Category:Mobile Design Patterns]]
  
  

Revision as of 03:10, 10 February 2012

Article Metadata
Article
Created: User:Yiibu (06 May 2009)
Last edited: hamishwillee (10 Feb 2012)


This design pattern is part of the Mobile Design Patterns series.

Contents

Description

A means of re-ordering a list based on a chosen parameter.


Advantages

  • Increases findability of distinct items within long lists.

Disadvantages

  • Providing an easily discoverable and intuitive sort command can be tricky on small screens.


Use when

  • When a list contains a large number of items.
  • When list items contain complex data and/or multiple associated metadata.

Use how

Provide users with a contextual series of sorting options. On mobile, these are most often presented in the following way:

  • A drop-down menu or toggle located at the top of a table column (primarily used in HTML).


37-sort-by-date.jpg

Figure: Nokia Messaging provides a drop down menu enabling mail sorting by date, subject and sender (open menu not shown). The above list is sorted chronologically by Date.

  • A ‘Sort’ or 'Sort by' command within the Options menu.

38-sort.jpg

Figure: The S60 sort command is available within the Options menu. The active sort method is indicated using a submenu indicator.


Design Tips

  • Where possible, provide an indication of the active sort method. This indicator should ideally be on-screen however this may not always be possible due to limited screen real estate. In S60, the active sort parameter is commonly indicated using a sub-menu indicator.
  • Provide the user with an easily discoverable means to revert the list to its default sort order.
52 page views in the last 30 days.
×