exposed filter autocomplete suggestions sort I have more than 10 terms in vocabulary: car, red car, blue car, yellow car etc.
I know that 10 results is hardcoded value for autocomplete widget. My problem is that after typing "car", I only get various other terms, simple "car" is not in suggestions.

How does the autocomplete widget work?
Is there any way how to sort/alter results? Why it does not show the exact term first "car" and then all other terms containing "car"?
The filter handler class views_handler_filter_term_node_tid uses the autocomplete path admin/views/ajax/autocomplete/taxonomy and is driven by the callback views_ajax_autocomplete_taxonomy().

This autocomplete callback explicitly excludes the term typed in and doesn't do any explicit sorting (thus defaults to whatever your RDBMS does):

$query = db_select('taxonomy_term_data', 't');
$query-&gt;addTag('translatable');
$query-&gt;addTag('term_access');

// Do not select already entered terms.
if (!empty($tags_typed)) {
  $query-&gt;condition('t.name', $tags_typed, 'NOT IN');
}
// Select rows that match by term name.
$tags_return = $query
-&gt;fields('t', array('tid', 'name'))
  -&gt;condition('t.vid', $vid)
  -&gt;condition('t.name', '%' . db_like($tag_last) . '%', 'LIKE')
  -&gt;range(0, 10)
  -&gt;execute()
  -&gt;fetchAllKeyed();


If you'd like to alter the results or how it's sorted, the query is using tagging, thus available for altering via hook_query_alter().