In that case, I would assume that there is something wrong with the sort method.
Write a small program in another class:
class Test {
public static void main(String [] args) {
int [] array = {
63, 44, 55, 83, 71, 93, 91, 95, 62, 97, 12, 57, 7, 35, 50, 30, 49, 41
/* put here the numbers you want to sort */
};
// call the sort method
// print the array
}
}
Check if the sort method works. Post the code of the sort method as well as the results of the above code