title: How do I reorder dictionaries in a list?
body: <p>I have 2 long lists of dictionaries. The format of the lists are like the following ones:</p>
  <pre><code>myList1 = [{'id':1, 'bar':14},
             {'id':2, 'car':641},
             {'id':3, 'tar':84},
             {'id':12, 'bar':14},
             {'id':52, 'car':641},
             {'id':6, 'tar':84}]
  
  
  myList2 = [{'id':12, 'bar':14},
             {'id':2, 'car':641},
             {'id':3, 'tar':84},
             {'id':1, 'bar':14},
             {'id':52, 'car':641},
             {'id':6, 'tar':84}]
  </code></pre>
  <p>I want the last 1000 dictionaries in both lists to be the same (same 'id'). Any suggestions?</p>
  <p>I tried to print one list's last 1000 dictionaries and then change the other list one dictionary by one dictionary. However, that is too time consuming...</p>