Fix sort_children typo