title: How can I sort the string array in linux bash shell?
body: <p>For instance, the array is </p>
  
  <pre><code>link2_pathname
  link1_pathname
  link3_pathname
  </code></pre>
  
  <p>How can I get the array like below.</p>
  
  <pre><code>link1_pathname
  link2_pathname
  link3_pathname
  </code></pre>
  
  <p>Thanks a lot in advance!</p>