title: Sorting CSV file alphabetically using Python
body: <p>Can someone please tell me how to sort a CSV file alphabetically in columns when the data comes from multiple variables (e.g name and age)? I need names to be displayed in alphabetical order.</p>
  
  <p>Here is my code:                                                                    </p>
  
  <pre><code>with open ("Information.csv", "a", newline="",) as CSVFile:
      for_use = csv.writer (CSVFile, delimiter=",")
      info = [[name, age]]
      for_use.writerows(info)
  </code></pre>