THE COMPLEX INTERPLAY OF SEX ALLOCATION AND SEXUAL SELECTION