title: Sort list according given text of months
body: <p>How to sort the given list <code>l</code> according to months <code>['Jan', 'Feb', 'Mar']</code> and <code>['L', 'K']</code>:</p>
  
  <pre><code>l = ['Jan_K', 'Mar_K', 'Feb_L']
  </code></pre>
  
  <p>The expected result should be:    </p>
  
  <pre><code>result = ['Feb_L', 'Jan_K', 'Mar_K']
  </code></pre>