- Exact matches always come first.
- Prefix matches come next. If I type “Fr” I want “Fresno” not “San Francisco.”
- Matches should be sorted alphabetically.
- When one option is the prefix of another, put the shortest one first .
- The user should never have to take extra steps to not use autocomplete.