title: Sorting array of strings by contained numbers?
body: <p>I have those elements in an array:</p>
  
  <pre><code>/mypath/10_something_04_06.txt
  /mypath/1_something_04_06.txt
  /mypath/12_something_04_06.txt
  /mypath/2_something_04_06.txt
  /mypath/3_something_04_06.txt
  </code></pre>
  
  <p>Now I want to sort it, so that the numbers after <code>/mypath/</code> are considered. This is what I tried:</p>
  
  <pre><code>sort($myArray, SORT_NUMERIC);
  sort($myArray, SORT_STRING );
  </code></pre>
  
  <p>It doesn't work. 
  Should be expected result like below:</p>
  
  <pre><code>/mypath/1_something_04_06.txt
  /mypath/2_something_04_06.txt
  /mypath/3_something_04_06.txt
  /mypath/10_something_04_06.txt
  /mypath/12_something_04_06.txt
  </code></pre>
  
  <p>Thanks!</p>