title: angularjs sort orderby on array
body: <p>I have data like </p>
  
  <pre><code>{ column : [a,b,c], data : [["a",1,2],["b",4,5],["c",3,2]]}
  </code></pre>
  
  <p>table structure </p>
  
  <pre><code>&lt;thead&gt;
  &lt;tr&gt;
    &lt;th ng-repeat="n in column" ng-click="click($index)"&gt;n&lt;/th&gt;  
  &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tr ng-repeat="i in data | orderBy:sortType:sortReverse "&gt;
    &lt;td ng-repeat="j in i"&gt;i&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>how to make a sort logic here??</p>