title: Sorting a numeric column in a text file with python
body: <p>I am trying to sort a text file by the 4th column that contains over 1000 numbers. I can isolate the number column fine but I am unable to sort in ascending order. Here is what I believed was correct. But I keep getting the following error:</p>
  
  <p><em>'str' object has no attribute 'sort'</em> </p>
  
  <p>Any advise would be great!</p>
  
  <pre><code>file = open("MyFile.txt")
  
  column = []  
  
  for line in file:
      column = line[1:].split("\t")[3]
  
      print (column.sort())
  </code></pre>