title: How to check if two lists have the same objects in the same order?
body: <p>I have two lists and need to check if they contain the same objects in the same order.</p>
  
  <pre><code>list1 = [object1 , object2 , object3]
  list2 = [object1 , object2 , object3]
  list3 = [object2 , object3 , object1]
  </code></pre>
  
  <p>Comparing list <code>list1</code> and <code>list2</code>, result should be <code>true</code>.</p>
  
  <p>Comparing list <code>list1</code> and <code>list3</code>, result should be <code>false</code>.</p>
  
  <p>Edit: sample list example:<code>list =   [[&lt;object1 at 0x04130AB0&gt;], [&lt;object2 at 0x04130210&gt;, &lt;object3 at 0x04130A10&gt;]]</code></p>