title: Perl : Sort array element in alphabetical order
body: <p>I have a big array and I want to sort all the elements of the array in alphabetical order.</p>
  
  <p>In a previous subroutine, the element of the array are being pushed to tc_reg array.</p>
  
  <p>I have an array named @tc_lane. When I print element of the array it would look something like this</p>
  
  <pre><code>tx0_abc
  rx0_fgw
  ref_ghv
  ..
  </code></pre>
  
  <p>Now I want to sort this array like this,</p>
  
  <pre><code>ref_ghv
  rx0_fgw
  tx_abc
  ..
  </code></pre>