Sorting of 2D array

Please help me in sorting of the 2D array as well as row-wise and column-wise sorting.

@shikhar.pranjal3 hey for row wise sorting start iterating each row and use inbuilt sort function or any sorting algo to sort that row ;like 1 d array ,similiarly for column wise traverse all columns and sort them individually.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.