What happens on sorting vector of vector?

Does sort(v, v+q) sorts individual vectors at all index or what?

This only changes sequence of vectors. No individual vectors are sorted.

3 Likes

On what basis?

Lexicographical ordering.

6 Likes