I use atocomplete.jquery plugin to suggest input text, as the result I get this array:
['White 023','White','White flower', 'Teatr']
When I start to search something thats begin from te
substring it shows me array sorting like this:
'White','White 023','White flower', 'Teatr'
I need something like this:
'Teatr','White','White 023','White flower'
Any ideas?