Accenture Interview Question

Sort an array using binary search algorithm