How to sort a matrix (two dimensional array) in Java? First sort rows and then all columns?

java

#1

Hi I just started learning how to program. If I’m trying to sort a two dimensional array in the matrix format manually should I use multiple for loops to sort each sub array and then the full array?


#2

This topic was automatically closed after 3 days. New replies are no longer allowed.