Directory Last name only

Using FreePBX…

How do I get the directory to work with the last name only? I’ve got 200 + extensions, and have it spill out on first and last names gives too many hits for the directory to usable.

Getting ready to forklift an old Trixbox install. Gotta say that the FreePBX distro is far far better!