Is the Sony FE 40mm F2.5 G Lens sharp? This page visually answers that question. Shown above are 100% crops from a lab-captured 40mm f/4.0 test image. Observe the contrast and resolution of these results.
Is the Sony FE 40mm F2.5 G Lens set to 40mm f/4.0 sharper than the Tamron 35mm f/2.8 Di III OSD M1:2 Lens set to 35mm f/2.8? The image quality comparison above also answers that question. Switch between the results to see the sharpness differences between these lenses.