title: Group rows by value
body: <p>How to programmatically group following data by values in column <code>B</code>?</p>
  
  <p>Note, that there are random values in columns <code>A</code> and <code>C</code>. </p>
  
  <p><a href="https://i.stack.imgur.com/wObWd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wObWd.png" alt="enter image description here"></a></p>
  
  <p>Like this:</p>
  
  <p><a href="https://i.stack.imgur.com/rL1yT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rL1yT.png" alt="enter image description here"></a> -->
  <a href="https://i.stack.imgur.com/hJRA2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hJRA2.png" alt="enter image description here"></a></p>