title: Sorting list based on order of substrings in another list
body: <p>I have two lists of strings.</p>
  
  <pre><code>list_one = ["c11", "a78", "67b"]
  list_two = ["a", "b", "c"]
  </code></pre>
  
  <p>What is the shortest way of sorting <code>list_one</code> using strings from <code>list_two</code> to get the following output?</p>
  
  <pre><code>["a78", "67b", "c11"]
  </code></pre>
  
  <p>Edit 1:
  There is a similar question <a href="https://stackoverflow.com/questions/6618515/sorting-list-based-on-values-from-another-list">Sorting list based on values from another list?</a>, but in that question he already has the list of required indexes for resulting string, while here I have just the list of substrings.</p>
  
  <p>Edit 2:
  Since the example of list above might be not fully representative, I add another case.</p>
  
  <p>list_one is <code>["1.cde.png", "1.abc.png", "1.bcd.png"]</code> 
  list_two is <code>["abc", "bcd", "cde"]</code>. 
  The output is supposed to be <code>[ "1.abc.png", "1.bcd.png", "1.cde.png"]</code></p>
  
  <p>If, for example, list_one is shorter than list_two, it should still work:</p>
  
  <p>list_one is <code>["1.cde.png", "1.abc.png"]</code>
  list_two is <code>["abc", "bcd", "cde"]</code>
  The output is supposed to be <code>[ "1.abc.png", "1.cde.png"]</code></p>