title: How objects are sorted in Python
body: <p>Suppose that I have a list <code>lst</code> of some objects.</p>
  
  <p>What value of an object is used to perform <code>sorted(lst)</code> if key function is not provided? Is it hash or some id?</p>