J.P. Morgan interview question

normalize the array/ sort the array