title: Beautifulsoup find different sections while preserving order
body: <p>I am looking to use beutifulsouop to extract text in the <code>span</code> section with a particular <code>class</code> value, and also the <code>div</code> section with a different <code>class</code> value while preserving order.</p>
  
  <p>The following works with the exception that it does not preserve the order [i.e. the list has all of the <code>div</code> elements at the end, rather than when they occur in the page]</p>
  
  <pre><code>extract = soup.findAll('span', {"class": "value1"})  
  extract += soup.findAll('div', {"class": "value2"})
  </code></pre>
  
  <p>Note - this is similar, but slightly different to the question - <a href="https://stackoverflow.com/questions/18725760/beautifulsoup-findall-given-multiple-classes">BeautifulSoup findAll() given multiple classes?</a> as i am specifically looking in <code>span</code> and <code>div</code> codes.</p>