title: Python Dictreader Sorting Fieldnames
body: <p>I have a .csv file with the content (example)</p>
  
  <pre><code>Attributes,Description,Dial-Up
  4,2,0.2
  3,1,0.4
  </code></pre>
  
  <p>Using the dictreader:</p>
  
  <pre><code>dictreader = csv.DictReader(open(filename, "rb"), delimiter=',')
  dictdata = {}
  count=0
  for row in dictreader:
      dictdata[count]=row
      count=count+1
  </code></pre>
  
  <p>And display in table or using writer i will get:</p>
  
  <pre><code>Dial-Up,Attributes,Description
  0.2,4,2
  0.4,3,1
  </code></pre>
  
  <p>So how can i sort the fieldnames?</p>