Cyzerg interview question

2. Sort based on the Square of each element in the array