Improved the autocompleter to handle multiple-words suggestions.

Also, the suggestions are alphabetically sorted.