TreeTable sort problem, new elemnet should be on at bottom

Hello,
Thank you for your help in advance

When i added new element by createAction, new element is on top table, i want everytime new element at the bottom of the table. Elements is from memory not from query so if i use:

it does not work becouse this generate query with order. Somebodyknow how sort Listin CollectionContainer this table everytime after close creataction
2023-07-13 07_49_10-Zarządzanie komunikatami

Hi,
The easiest way is to refresh (re-read from DB) data loaded in the table after the edit screen closes.
To do that, you can create a “afterCloseHandler” handler method for the Create action.
Call “yourEntityDataLoader.load()” in this handler.