sort search result alphabetically when text is supposed to be empty.