Sorting Results

   

What is Sorting?

   
  Many queries will yield a large number of results. Sometimes, it is useful to be able to sort these to help you select the most relevant results. You could sort by almost any of the available fields. However, the fields which are available for sorting will be limited to those selected for the installation of SRS that you are using. In addition, a few fields are not appropriate for sorting. Some typical sortable fields are shown in Figure 3.20

Figure 3.20 Display Options box, showing drop-down list of sortable fields on a Query Result page.

Sorting a Set of Results

   
 
  1. First choose a set of results, e.g. by making a search, and view them on a Query Result page.

 
Figure 3.21 Query Result page, showing the results from a search of the SWISS-PROT Description field, for the word kinase.

  1. Choose the Organism Name field from the Sort Results by: drop-down list.

Figure 3.22 Display Options area showing drop-down list of available sort fields.

Note:Entries for which the chosen sort field is missing or null will be listed at the bottom of a sorted list whether sorting was in ascending or descending order.

  1. For this example, choose to sort in an ascending order.
Note:Unsorted results will be listed in ascending order. It is not possible to reverse this order for unsorted results.

  1. You might also like to apply a different view to the results, perhaps one that shows the field on which you are sorting. For this example choose SwissView.

Figure 3.23 Choose the order for sorting and a view to display the results.

  1. Initiate sorting by clicking on the button. The result of the above sort is shown in Figure 3.24

 
Figure 3.24 Query Result page, showing the results from a search of the SWISS-PROT Description field, for the word "kinase", sorted according to the Organism Name field and displayed using the SwissView view.