title: Sort an array in specific order javascript
body: <p>I have an array like this </p>
  
  <pre><code>arr1 = ["P2.13","P1.13","P4.13","P3.13", "P2.14","P2.14","P1.14","P4.14","P1.15","P2.15","P3.15","P4.15"];
  </code></pre>
  
  <p>How can I sort the array by the number after the dot FIRST, from 13 to 15, then sort by the number after "P" from 1 to 4? Finaly I want an array like this</p>
  
  <pre><code>arr2 = ["P1.13","P2.13","P3.13","P4.13","P1.14","P2.14","P3.14","P4.14","P1.15","P2.15","P3.15","P4.15"];
  </code></pre>
  
  <p>Appreciate!!</p>