Adding sorted child