Nomura Interview Question

Sort the squares of an array