Domanda di colloquio di Insight Global

How would you sort an array containing positive and negative numbers based on absolute value