# Sorting Criteria

Essentially, any variable or expression returning a value for each View can be used to sort the selected Views in ascending or descending order.

Press the arrow icon (outlined in green, below) to enable the Sort field.

An additional variable is available for the Sort field when used in conjunction with the Display filter trained - train. The train variable provides a measure to sort Views used for training, according to their training difficulty. A few examples are given in the following table:

Filter | Sort | Description
--- | --- | ---
good | score | Displays Views that are labeled as good, and sorts them based on their score.
not labeled | random | Selects unlabeled Views and sorts them randomly.
trained | train | Sorts trained Views according to their training difficulty.
tag![ID] | tag[ID]/score | For the Green Classify tool, selects Views tagged with the class ID, and sorts them with regard to the probability score of this class.
| count(match) | For the Blue Locate and Blue Read tools, sorts all Views according to the number of models found.