Natural selection and self-organization