Use For each(ordered) to loop through the objects in your family, set the expression to Family.Y(Replace Family with whatever your family name is), order by ascending, and then add an action to send the current family object to the front. This will send each of your family objects to the front in turn, starting from the object with the lowest Y value, resulting in the ordering you want.