C++ sort matrix's row using STL
<p>Is it possible to sort matrix's row using STL <code>sort</code> in c++?</p>

<p>like we sort 1-dimensional array from index <code>x</code> to <code>y</code> like:</p>

<pre><code>int a[100];
sort(a+x, a+y+1);
</code></pre>

<p>how can I call <code>sort</code> for <code>int a[100][100]</code> if I want so sort <code>i-th</code> row from <code>x</code> to <code>y</code>?</p>