To sort scores from highest to lowest or vice versa on a single CMS Collection Page in Webflow, you’ll need to use manual CMS sorting or custom JavaScript for dynamic sorting.
1. Use Webflow's Built-in Collection List Sorting
- Go to the CMS Template Page where you're displaying the related items (e.g., a list of scores).
- Select the Collection List element inside the template page.
- In the Element Settings panel, scroll to Sort Order.
- Choose the field that represents the score, then set it to Descending (highest to lowest) or Ascending (lowest to highest).
- Publish the site to see the sorted list.
Limitations: Webflow only allows a single sort order per Collection List. You can’t dynamically toggle it on the front end with this method.
2. Use Jetboost (No-Code Option) for Frontend Sorting
- Use a tool like Jetboost’s Sort Booster to allow users to sort CMS items dynamically on the page.
- Install Jetboost, link it to your Webflow project, and follow the steps to set up a Sort Booster using the score field.
- Add UI buttons or dropdowns labeled “High to Low” and “Low to High”.
- Jetboost handles the rest, allowing sorting to occur client-side, without reloading.
3. Use Custom JavaScript for Sorting (Advanced Option)
- Export your CMS scores into the page inside identifiable HTML containers or data attributes.
- Write custom JavaScript that selects these items and sorts them in the DOM based on score values.
- Add buttons that toggle between High to Low and Low to High and re-render the sorted items.
- This method requires JavaScript knowledge and doesn’t affect SEO or page structure but gives full control over sorting behavior.
Summary
To sort scores on a CMS page in Webflow, use the built-in Collection List sorting for fixed order, or use tools like Jetboost or custom JavaScript for dynamic front-end sorting. Webflow does not support user-toggle sorting out of the box.