Sex and death in a multispecies community