title: How to groupBy using multiple columns in scala collections
body: <pre><code>records.groupBy(_.column1)
  </code></pre>
  
  <p>What if I want to include more columns like if I want to group by column1, column2 and column3?</p>
  
  <p>Any hints?</p>