title: How do you compare the order of two lists that contain the same elements?
body: <p>I am trying to determine if a list is sorted the same way as another list containing the same elements. For example:</p>
  
  <pre><code>a = ['a', 'b', 'c']
  b = ['b', 'c', 'a']
  
  if a != b:
    print("Wrong order")
  </code></pre>
  
  <p>I want to be able to determine whether two lists have got the same ordering. It does not matter whether it is slightly different or completely, I just need to be able to tell if they are different.</p>