On the Modern UX, edit a project and go to the Staff tab.
When adding a Staff member filter by an underscore (_).
The auto suggested list of resources looks messy. What is the algorithm at the time of displaying the results?
It searches the following fields in the Lookup Search
Resource Full Name (First and Last name)
Primary Role Name
Primary Role Code
The sorting order is standard too based on the database sorting ordinal.