#149 - fixed autocomplete sort