Problem with Sorting in a TreeGrid

Hello everyone,

I am trying to make able a non-hierarchical column sortable.
Randomly, sorting the column makes items disappear in my grid.
Otherwise it works.

Does anyone have a clue about this issue please?