Sort records (and items in any table)

Sorting of records is best performed in Result set View in which records are listed in a table of two or more columns:

Tip: Although we demonstrate how to sort items (rows) in Result set View, the broad technique described here is the same for sorting items in all of the many tables you will come across in Collections.

Records can be sorted on the values in one or more columns, which can be in one of three states:

Notes

  • Although non-indexed fields can be added as columns in Result set View, it is not possible to sort records by values in non-indexed fields. To help identify which fields are indexed and which are non-indexed, they are clearly differentiated in the list of fields in Result set settings1.
  • It is not possible to sort on long text fields such as Notes and Description even if they are indexed. These fields typically have a Free text index, which cannot be sorted. An exception is often the (documentation) Title field.
  • If you need to sort records by values in a field that is not included in the Result set View, it is possible to add (and remove) columns by selecting Settings in the Result set View toolbar.
  • All records listed on every page in Result set View are sorted simultaneously, not just the records listed on the current page. In this example, all 103 records across every page will be sorted together:

    Pagination

Automatic sorting of records in an Advanced search

As we see above, when viewing search results in Result set View it is a simple matter to sort records by values in one or more columns.

It is also possible to adapt a search statement specified on the Advanced search tab of the Search box so that the search results are already sorted when you view them in any of the Display Views.