title: Sort the Array with Absolute value only and show real value
body: <p><strong>print the absolute sorted array. See the sample output for clarification.</strong></p>
  
  <p><strong>Input:</strong></p>
  
  <pre><code>9 -2 10 3 -5 34 -22 7
  </code></pre>
  
  <p><strong>I want output:</strong></p>
  
  <pre><code>-2 3 -5 7 9 10 -22 34
  </code></pre>
  
  <p>I was tried with <code>Arrays.sort(a[]);</code> </p>
  
  <p>please help me out:</p>
  
  <p>Thank you</p>