Filtering and sorting with collection-repeat

Hi @JKnorr, thanks for your help, I edited the question so you can see the form of the array.