title: Getting attribute error: 'map' object has no attribute 'sort'
body: <p>I am trying to sort array in increasing order. But getting the following error for the code:</p>
  
  <pre><code>a=[]
  a=map(int, input().split(' '))
  a.sort()
  print (a)
  </code></pre>
  
  <p>Help me out here...</p>
  
  <pre><code>    ERROR : AttributeError: 'map' object has no attribute 'sort'
  </code></pre>