I have created 2D vector:
{{9,8,7},
{6,1,4},
{3,2,1}}
I want to sort using std::sort and I want to have:
{{1,1,2},
{3,4,6},
{7,8,9}}
I have no idea how to do it.
I have created 2D vector:
{{9,8,7},
{6,1,4},
{3,2,1}}
I want to sort using std::sort and I want to have:
{{1,1,2},
{3,4,6},
{7,8,9}}
I have no idea how to do it.