Library Search Sort By
You can sort the search results on the Library Search page based on the out-of-the-box sort by option Last Published (Newest and Oldest), Last Updated (Newest and Oldest), Last Reviewed (Newest and Oldest), and Times Used (Most and Least) using the Sort By drop-down.
You can also sort the results using custom fields. You must add the custom fields to the Response object > Library Search Sort By field set to be available in the Sort By drop-down. Custom fields of the following data types are supported:
Data Type | Sorting Method |
---|---|
Number, Currency, Percentage | Most or Least |
Date, Date/Time | Newest or Oldest |
Picklist, Text, Checkbox, URL, Phone, Time | Ascending (Asc) or Descending (Desc) |
To add Custom Fields for Sorting
Go to Setup and click the Object Manager tab.
Search and select Response from the Quick Find search bar.
Click the Field Sets on the left sidebar.
You can see various field labels displayed under the fieldsets.Click the Library Search Sort By on the Field Label column.
Drag and drop any of the desired fields from the palette into the list.
Click the Save button.
The changes made will be reflected in the Library Search Sort By drop-down.

Click to enlarge