Nomura interview question

Sort the squares of an array