Toshiba Interview Question

sort an array and searching time complexity