sort array first and then narrow start and end range to find Closest Sum of 3 elements