Published
Updated
November 4, 2022
All too often, designers need the ability to sort a Collection List by an option field, or by a reference field.
Unfortunately, in Jan-2023, this capability is not supported. It is possible however, using script.
Sygnal's Attributes library has an easy-to-setup sorting feature that gives you the control you're looking for.
Demonstration
- DEMO - Sort by Option field
- DEMO - Sort by Ref field
- Demonstration project - Cloneable
Implementing
- Advanced Sorting lib - Sygnal Attributes
Limitations
- As a script, you will only see your results when the script can run, on your published site. You will not see the sorted content in the designer.
- The script can only sort what it can see, which means that if your collection contains more than 100 items, your list will not have all of the elements needed for a complete sort.