title: Angular2: displaying items in row/column fashion
body: <p>I have an array with the below format, where first parameter is the text to be displayed, second is the column number and third is the row number. I want to display these items based on their column and row location.</p>
  
  <pre><code>[[ "a",  "0", "0"],
  ["b", "0", "1"],
  ["c", "0", "2"],
  ["d", "1", "0"],
  ["e", "1", "1"],
  ["f", "2", "0"],
  ["g", "2", "1"]
  </code></pre>
  
  <p>]</p>
  
  <p>Desired Output:</p>
  
  <pre><code>a d f
  b e g
  c
  </code></pre>