标签: c++ sorting vector stl
我创建了2D矢量:
{{9,8,7}, {6,1,4}, {3,2,1}}
我想使用std :: sort进行排序,我希望:
{{1,1,2}, {3,4,6}, {7,8,9}}
我不知道该怎么做。