Sharpness is a perceived entity. Thus magnification of detail, the subject pattern(s), contrast of light, and the properties of the lens all factor into the final 'deception' delivered by our sensory system.
Short focal lenses magnify less so are at a handicap when sensor resolving power is limited. One need *sufficient* resolution of the imaging chain to make the finer details stand out for the picture of a very complex scene be rendered satisfactorily. If you limit yourself to make pictures of large structures without much detail, even a very short lens will do just fine on 6MPix.
The lenses act as low-pass filters of the optical system. With a longer lens, magnification of detail is greater and thus the chance of details 'getting through' is higher.