title: Go lang sort a 2D Array
body: <p>I want to sort a two dimensional array in Go. Can anyone please suggest how I can go about this?</p>
  
  <p>For example If I have,</p>
  
  <pre><code>var matrix [3][3]int{
    {2,3,1},
    {6,3,5},
    {1,4,9}
  }
  </code></pre>
  
  <p>Then is there something like,</p>
  
  <pre><code>sort.Sort(matrix)
  </code></pre>