Setting Order by in List Composition

I understand we can set the order by when selecting a COMPOSITION in the studio. I have Master detail of Order and OrderDetail entities. OrderDetail is COMPOSITION to Order. I have set List instead of Set for the OrderDetail and have userd “orderLine asc” in the box Order By but seems it is not working, no exception appeared though. Thanks for your help.

Hi Mortoza,
You should specify an attribute of OrderDetail entity in the Order by field. E.g. id or createTs.