I have a program in which there is a two-dimensional array. Let's say it is array[10][2].
In array[0][0] to array[9][0], I store the Names of different students.Then in array[0][1] to array[9][1] I store the marks of respective students.
Now I want to arrange the whole array as an Excel Table sort of thing, w.r.t. the numbers of students... The problem is, even if I can apply bubble sorting on the marks column, the students column doesn't change with respect to the marks.