public static void sort ( double [ ] data , int rowLength ) { quickSort ( data , 0 , ( data . length - 1 ) / rowLength , rowLength , NATURAL_ROW_COMPARATOR , new double [ rowLength ] , new double [ rowLength ] ) ; }
Sorts rows in 1D array in ascending order comparing each rows column .