automatically group autocomplete results by kind when AutocompleteItem objects have a 'kind' property.