Add children in sorted order