worst case of sorting algorithms - Search