The building function sort()
in c++ only sort 2D vector according to x axis, so sortfunction help to sort vector by column (according to y axis).
The building function sort()
in c++ only sort 2D vector according to x axis, so sortfunction help to sort vector by column (according to y axis).