I'm interested in macro photography as well as general portraitures. My question is, which of the following lense is sharper? Focal length is no prob. I need SHARPER one.

Nikon Nikkor AF-S DX 40mm f/2.8G
Nikon Nikkor AF-S 60mm f/2.8G