a fix for correct restoring children of sorting container