// จงเขียนโปรแกรมภาษาจาวา เพื่อป้อนข้อมูลเก็บใน Array X ขนาดมิติ MxN // แล้วทำการเรียงลำดับข้อมูลใหม่โดยเรียงจากน้อยไปหามาก // เพื่อตอบ mail ของ เจริญ กาญจนรุจวิวัฒน์ ตามโจทย์ข้างต้น import java.io.*; class sort2dim { public static void main(String[] args) throws IOException { BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in)); int m = Integer.parseInt(stdin.readLine()); int n = Integer.parseInt(stdin.readLine()); int x[][] = new int[m][n]; int y[] = new int[m * n]; for (int i=0;i