How can I set the order to display a classified at the top of the list?
What Sort Order Does
- This field controls how high an item appears in the list of classifieds.
- It functions like “pinning” or making an item “sticky” at the top of a list.
- Locate the Sort Order Field
- Open any classified within the Classifieds content type.
- Find the field labeled Sort Order at the top of the form
- How the Number Affects Position
- The higher the number, the higher the item appears in the list.
- Example:
- 2 → appears at the very top
- 1 → appears second
- If no number is entered, the item follows the default sorting order.
- To place multiple items at the top, assign each a different number.
- Use whole numbers (no decimals).
- After entering a value, click the Publish button to save the changes.
- In the Page Editor, configure the Classifieds widget (Advanced Setting)
- Go to the page where the classifieds widget is placed.
- Edit the widget settings.
- Click the List Settings tab
- Change Sort Classifieds to Advanced Mode and click the Advanced button
- Set the Sorting Rule Manually
Click the Model button
- In the SortExpression field, type this exactly:
SortOrder DESC
then click the Save button - This ensures items are displayed from highest number to lowest.
The sorting direction must be set to descending for the feature to work properly.
- Click the Publish button in the Page Editor to save changes to the page.