title: Wrong order of elements when appending to .csv
body: <p>Here is a sample of my current code</p>
  
  <pre><code>for i in pin:
  
      i.click()
      time.sleep(4)
      f = driver.find_elements_by_xpath('//td[@class="bold"]')
      d = driver.find_elements_by_xpath('//td[@class="date"]')
      with open("tennisopening.csv","a") as r:
          r.write(match + "," + date + "," + score + "\n")
  
          for i in f:
  
              b= i.text
  
              for i in d:
  
                  c= i.text
  
                  with open("tennisopening.csv","a") as r:
                      r.write(b + "," + c)
  </code></pre>
  
  <p>This results in a csv table with cells in the following order:</p>
  
  <p>(b,c,match,date,score,\n)</p>
  
  <p>But, I wish to have it in the following order:</p>
  
  <p>(match,date,score,b,c,\n)</p>
  
  <p>How can I fix this?</p>
  
  <p>Thank you</p>