Widget Children rearange

Hello, i am trying to figure out a way to rearrange child widgets inside their parent container based on their individual string values at runtime
The string value contains times for “appointments”, the lowest value is 9:00 and the largest 21:00.
My issue is that i cannot know which appointment time is going to be created first so its all scrambled up based on that.

What i’ve tried:
Made an empty array of “appointments”, then did a ForEachLoop on the actual appointments and checked the string variable through a series of brances to check against the times, 9:00 , 9:30 etc. If true i took the empty array and used the Insert node to assign the appointment to the slot i need, 9:00 = index 0 and so on so forth.
After that i tried ForEachLoop on the newly sorted array and added its entries as children to my main container, but it doesnt work.

Can’t figure out why, any help regarding widget or array rearrangement at runtime will be greatly appreciated! Thanks