Java Sorting A Two Dimensional 2d Array As A Whole Without Row

Java Sorting A Two Dimensional 2d Array As A Whole Without Row