search sorted string with empaty strings mixing