text: Java implementation to sort the rows of matrix in ascending order followed by sorting the columns in descending order
code: import java . util . Arrays ; import java . util . Collections ; class GFG { static int MAX_SIZE = 10 ;