Merge and sort local and global for typeahead. add unregistered icon