Sort by Field within Reference

Hi, thanks to anyone who has any advice on this. I can’t find a final answer on it.

Basically I have a field within a reference in a collection that I would like to sort my repeater by.

I have a collection called Portfolio which contains a reference field to a collection called AkeneoGamesUpdate . I need to be able to sort by the date that is contained in this reference.

I’m not an expert in Velo but if anyone has any ideas on how I accomplish this I’d be incredibly grateful.

Many thanks