int [][] array = new int[][] {{6,12,12}, {3,18,18}, {4,24,24}, {6,30,10}}; I am trying to sort this array by the second column and i cant really find a solution. I hope I'm not being thick here, and misleading you - if so, I'm sure someone will point that out... But is this "second column" you are talking about 12-18-24-30? In other words ...