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.
- 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.