Sollicitatievraag bij Insight Global

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