Sort suggestions by relevance or alphabetically