improves ordering of autocomplete results in images and projects controllers