Main

Account

Looping through collection based on custom date

Peter Emil van den Berg

Jan 17

I'm working on a collection which is a list of theater-productions.

Every production can have multiple dates when its performed. This date is being used to sort all productions in their own list and in one combined list. This combined list gives me troubles; when it's rendered it shows the productions alphabetical first and within their instances descending in date. To clarify this is what it looks like now: